Nevron .NET Vision
Nevron.Diagram Namespace / NErmColumn Class / PrimaryKey Property


In This Topic
    PrimaryKey Property
    In This Topic
    Determines whether the column contains a primary key of the table.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Data")>
    <System.ComponentModel.DescriptionAttribute("Determines whether the column contains a primary key of the table.")>
    <System.ComponentModel.DefaultValueAttribute(False)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property PrimaryKey As System.Boolean
    'Usage
     
    
    Dim instance As NErmColumn
    Dim value As System.Boolean
     
    instance.PrimaryKey = value
     
    value = instance.PrimaryKey
    [System.ComponentModel.Category("Data")]
    [System.ComponentModel.Description("Determines whether the column contains a primary key of the table.")]
    [System.ComponentModel.DefaultValue(false)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.bool PrimaryKey {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also