MetaModel 類別

定義

表示資料庫和網域物件之間對應的抽象。An abstraction that represents the mapping between a database and domain objects.

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

建構函式

MetaModel()

初始化 MetaModel 類別的新執行個體。Initializes a new instance of the MetaModel class.

屬性

ContextType

在衍生類別中覆寫時,取得這個模型描述的 DataContext 類型。When overridden in a derived class, gets the DataContext type that this model describes.

DatabaseName

在衍生類別中覆寫時,取得資料庫的名稱。When overridden in a derived class, gets the name of the database.

MappingSource

在衍生類別中覆寫時,取得起始這個模型的對應來源。When overridden in a derived class, gets the mapping source that originated this model.

ProviderType

在衍生類別中覆寫時,取得或設定提供者類型。When overridden in a derived class, gets or sets the provider type.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetFunction(MethodInfo)

在衍生類別中覆寫時,取得對應至資料庫函式的 MetaFunctionWhen overridden in a derived class, gets the MetaFunction that corresponds to a database function.

GetFunctions()

在衍生類別中覆寫時,取得所有函式的列舉。When overridden in a derived class, gets an enumeration of all functions.

GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetMetaType(Type)

在衍生類別中覆寫時,探索指定 TypeMetaTypeWhen overridden in a derived class, discovers the MetaType for the specified Type.

GetTable(Type)

在衍生類別中覆寫時,取得與指定 Type 建立關聯的 MetaTableWhen overridden in a derived class, gets the MetaTable associated with a specified Type.

GetTables()

在衍生類別中覆寫時,取得所有資料表的列舉。When overridden in a derived class, gets an enumeration of all tables.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於