共用方式為


ColumnConfigAnnotation.IsPartOfForeignKey 屬性

取得值,這個值表示資料行是否屬於外部索引鍵的一部分。

命名空間:  Microsoft.Data.Schema.Tools.DataGenerator
組件:  Microsoft.Data.Schema.Tools (在 Microsoft.Data.Schema.Tools.dll 中)

語法

'宣告
Public Property IsPartOfForeignKey As Boolean
    Get
    Set
public bool IsPartOfForeignKey { get; set; }
public:
property bool IsPartOfForeignKey {
    bool get ();
    void set (bool value);
}
member IsPartOfForeignKey : bool with get, set
function get IsPartOfForeignKey () : boolean
function set IsPartOfForeignKey (value : boolean)

屬性值

型別:System.Boolean
如果資料行屬於外部索引鍵則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

ColumnConfigAnnotation 類別

Microsoft.Data.Schema.Tools.DataGenerator 命名空間