EntityModelSchemaGenerator.GenerateForeignKeyProperties 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定在概念模型中產生外鍵屬性的旗標。
public:
property bool GenerateForeignKeyProperties { bool get(); void set(bool value); };
public bool GenerateForeignKeyProperties { get; set; }
member this.GenerateForeignKeyProperties : bool with get, set
Public Property GenerateForeignKeyProperties As Boolean
屬性值
若此屬性的值設為 , true 則概念模型中會產生外鍵屬性;否則概念模型中不會產生外鍵屬性。