DbModelExtensions.GetStoreModel(IEdmModelAdapter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
StoreModel is now available as a property directly on DbModel.
Gets the store model from the specified DbModel.
[System.Obsolete("StoreModel is now available as a property directly on DbModel.")]
public static System.Data.Entity.Core.Metadata.Edm.EdmModel GetStoreModel (this System.Data.Entity.Core.Metadata.Edm.IEdmModelAdapter model);
static member GetStoreModel : System.Data.Entity.Core.Metadata.Edm.IEdmModelAdapter -> System.Data.Entity.Core.Metadata.Edm.EdmModel
<Extension()>
Public Function GetStoreModel (model As IEdmModelAdapter) As EdmModel
Parameters
- model
- IEdmModelAdapter
An instance of a class that implements IEdmModelAdapter (ex. DbModel).
Returns
An instance of EdmModel that represents the store model.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework