Share via


DbModelExtensions.GetStoreModel(IEdmModelAdapter) Method

Definition

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