MetaModel 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个表示数据库和域对象之间的映射的抽象。
public ref class MetaModel abstract
public abstract class MetaModel
type MetaModel = class
Public MustInherit Class MetaModel
- 继承
-
MetaModel
构造函数
| MetaModel() |
初始化 MetaModel 类的新实例。 |
属性
| ContextType |
在派生类中重写时,获取此模型描述的 DataContext 类型。 |
| DatabaseName |
在派生类中重写时,获取数据库的名称。 |
| MappingSource |
在派生类中重写时,获取源自此模型的映射源。 |
| ProviderType |
在派生类中重写时,获取或设置提供程序的类别。 |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
| GetFunction(MethodInfo) |
在派生类中重写时,获取与数据库函数对应的 MetaFunction。 |
| GetFunctions() |
在派生类中重写时,获取所有函数的枚举。 |
| GetHashCode() |
作为默认哈希函数。 (继承自 Object) |
| GetMetaType(Type) | |
| GetTable(Type) | |
| GetTables() |
在派生类中重写时,获取所有表的枚举。 |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。 (继承自 Object) |