語言

EntityStoreSchemaGenerator 類別

定義

負責載入資料庫結構資訊。

public ref class EntityStoreSchemaGenerator sealed
public sealed class EntityStoreSchemaGenerator
type EntityStoreSchemaGenerator = class
Public NotInheritable Class EntityStoreSchemaGenerator
繼承
EntityStoreSchemaGenerator

建構函式

名稱 Description
EntityStoreSchemaGenerator(String, String, String)

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

屬性

名稱 Description
EntityContainer

取得建立的儲存模型 EntityContainer。

GenerateForeignKeyProperties

取得或設定在儲存模型中產生外鍵屬性的旗標。

StoreItemCollection

會取得建立的 StoreItemCollection。

方法

名稱 Description
CreateStoreSchemaConnection(String, String, Version)

建立一個 EntityConnection,載入儲存結構的提供者元資料。 請注意,targetEntityFrameworkVersion 參數使用類別中 EntityFrameworkVersions 描述的內部 EntityFramework 版本號。

CreateStoreSchemaConnection(String, String)

建立一個 EntityConnection,載入儲存結構的提供者元資料。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GenerateStoreMetadata()

產生儲存的元資料並回傳任何結構錯誤。

GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry>, Version)

產生儲存結構定義語言(SSDL),並回傳任何結構錯誤。

GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry>)

產生儲存的元資料並回傳任何結構錯誤。

GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)
WriteStoreSchema(String)

將產生的儲存結構定義語言(SSDL)寫入檔案。

WriteStoreSchema(XmlWriter)

將產生的儲存結構定義語言(SSDL)寫入 XmlWriter 物件。

適用於