DbModelExtensions.GetStoreModel Method (IEdmModelAdapter)
Note: This API is now obsolete.Namespace:
System.Data.Entity.Core.Metadata.Edm
Assembly: EntityFramework (in EntityFramework.dll)
Gets the store model from the specified DbModel.
Assembly: EntityFramework (in EntityFramework.dll)
[ObsoleteAttribute("StoreModel is now available as a property directly on DbModel.")] public static EdmModel GetStoreModel( this IEdmModelAdapter model )
Parameters
- model
-
Type:
System.Data.Entity.Core.Metadata.Edm.IEdmModelAdapter
An instance of a class that implements IEdmModelAdapter (ex. DbModel).
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.EdmModelAn instance of EdmModel that represents the store model.