次の方法で共有


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 名前空間