語言

MetaModel 類別

定義

一種抽象,代表資料庫與領域物件之間的映射。

public ref class MetaModel abstract
public abstract class MetaModel
type MetaModel = class
Public MustInherit Class MetaModel
繼承
MetaModel

建構函式

名稱 Description
MetaModel()

初始化 MetaModel 類別的新執行個體。

屬性

名稱 Description
ContextType

當在導出類別中覆寫時,會得到 DataContext 該模型所描述的型態。

DatabaseName

當在派生類別中覆寫時,會取得資料庫名稱。

MappingSource

當在派生類別中覆寫時,會得到該模型起源的映射來源。

ProviderType

當在衍生類別中被覆寫時,會取得或設定提供者型別。

方法

名稱 Description
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)

適用於