MetaModel 类

定义

表示数据库和域对象之间的映射的抽象。

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)

在派生类中重写时,发现 MetaType 指定的 Type值 。

GetTable(Type)

在派生类中重写时,获取 MetaTable 与指定项 Type关联的值。

GetTables()

在派生类中重写时,获取所有表的枚举。

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于