Class PrimaryKey
Represents a Microsoft SQL Server primary key.
Inheritance
System.Object
    PrimaryKey
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Mediachase.BusinessFoundation.Data.Sql.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0Syntax
public class PrimaryKey
  Constructors
PrimaryKey(Table, String, Int16, String)
Declaration
public PrimaryKey(Table ownerTable, string columnName, short keySeq, string name)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Table | ownerTable | |
| System.String | columnName | |
| System.Int16 | keySeq | |
| System.String | name | 
Properties
ColumnName
Gets the name of the column.
Declaration
public string ColumnName { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The name of the column.  | 
      
KeySeq
Gets the sequence number of the column in a multicolumn primary key.
Declaration
public short KeySeq { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int16 | The key seq.  | 
      
Name
Gets the name.
Declaration
public string Name { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The name.  | 
      
OwnerTable
Gets the owner table.
Declaration
public Table OwnerTable { get; }
  Property Value
| Type | Description | 
|---|---|
| Table | The owner table.  |