IEdmModelAdapter 接口

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

注意:此 API 现在已过时。

用于获取 DbModel 的基础存储和概念模型的接口。

命名空间:  System.Data.Entity.Core.Metadata.Edm
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
<ObsoleteAttribute("ConceptualModel and StoreModel are now available as properties directly on DbModel.")> _
Public Interface IEdmModelAdapter
用法
Dim instance As IEdmModelAdapter
[ObsoleteAttribute("ConceptualModel and StoreModel are now available as properties directly on DbModel.")]
public interface IEdmModelAdapter
[ObsoleteAttribute(L"ConceptualModel and StoreModel are now available as properties directly on DbModel.")]
public interface class IEdmModelAdapter
[<ObsoleteAttribute("ConceptualModel and StoreModel are now available as properties directly on DbModel.")>]
type IEdmModelAdapter =  interface end
public interface IEdmModelAdapter

IEdmModelAdapter 类型公开以下成员。

属性

  名称 描述
公共属性 ConceptualModel 已过时。 获取概念模型。
公共属性 StoreModel 已过时。 获取存储模型。

顶部

扩展方法 

  名称 描述
公共扩展方法 GetConceptualModel 从指定 DbModel 获取概念模型。 (由 DbModelExtensions 定义。)
公共扩展方法 GetStoreModel 从指定 DbModel 获取存储模型。 (由 DbModelExtensions 定义。)

顶部

请参阅

参考

System.Data.Entity.Core.Metadata.Edm 命名空间