ColumnConfigAnnotation.IsPartOfPrimaryKey Property
Gets a value that indicates whether the column is part of the primary key.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Property IsPartOfPrimaryKey As Boolean
public bool IsPartOfPrimaryKey { get; set; }
public:
property bool IsPartOfPrimaryKey {
bool get ();
void set (bool value);
}
member IsPartOfPrimaryKey : bool with get, set
function get IsPartOfPrimaryKey () : boolean
function set IsPartOfPrimaryKey (value : boolean)
Property Value
Type: System.Boolean
true if the column is part of the primary key; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.