DbModelExtensions.GetStoreModel(IEdmModelAdapter) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
StoreModel is now available as a property directly on DbModel.
Obtient le modèle de magasin à partir du DbModel spécifié.
[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
Paramètres
- model
- IEdmModelAdapter
Une instance d’une classe qui implémente IEdmModelAdapter (par exemple, DbModel).
Retours
Instance d’EdmModel qui représente le modèle de magasin.
- Attributs