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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework