EntityModelSchemaGenerator.GenerateForeignKeyProperties 属性

定义

获取或设置用于在概念模型中生成外键属性的标志。

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,则在概念模型中生成外键属性;否则不会在概念模型中生成外键属性。

适用于