EntityModelSchemaGenerator 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
類別會在 S 空間中的 EntityContainer 和 C 空間中的 EntityContainer 之間建立預設的 CCMapping。 會依據範圍的宣告型別來建立對應。 因此繼承便無法運作。
public ref class EntityModelSchemaGenerator sealed
public sealed class EntityModelSchemaGenerator
type EntityModelSchemaGenerator = class
Public NotInheritable Class EntityModelSchemaGenerator
- 繼承
-
EntityModelSchemaGenerator
建構函式
EntityModelSchemaGenerator(EntityContainer) |
初始化 EntityModelSchemaGenerator 類別的新執行個體。 |
EntityModelSchemaGenerator(EntityContainer, String, String) |
初始化 EntityModelSchemaGenerator 類別的新執行個體。 |
EntityModelSchemaGenerator(StoreItemCollection, String, String) |
建構 EntityModelGenerator。 |
屬性
EdmItemCollection |
取得 GenerateMetadata 方法建立的 EdmItemCollection。 |
EntityContainer |
取得 GenerateMetadata 方法所建立的概念模型 EntityContainer。 |
GenerateForeignKeyProperties |
取得或設定旗標,此旗標會用來在概念模型中產生外部索引鍵屬性。 |
PluralizationService |
取得或設定 PluralizationService 值,指出產生模型時使用的服務。 |
方法
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
GenerateMetadata() |
產生概念模型中繼資料資訊,並傳回所有結構描述錯誤。 |
GenerateMetadata(Version) |
產生概念模型中繼資料資訊,並傳回所有結構描述錯誤。 |
GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
ToString() |
傳回代表目前物件的字串。 (繼承來源 Object) |
WriteModelSchema(String) |
將產生的概念結構描述定義語言 (CSDL) 寫入至指定的檔案。 |
WriteModelSchema(XmlWriter) |
將產生的概念結構描述定義語言 (CSDL) 寫入至 XmlWriter 物件。 |
WriteStorageMapping(String) |
將產生的對應規格語言 (MSL) 寫入至指定的檔案。 |
WriteStorageMapping(XmlWriter) |
將產生的對應規格語言 (MSL) 寫入至 XmlWriter 物件。 |