Share via


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

See Also

Reference

ColumnConfigAnnotation Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace