Class PrimaryKey
Represents a Microsoft SQL Server primary key.
Inheritance
System.Object
    PrimaryKey
  Namespace: Mediachase.BusinessFoundation.Data.Sql.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0Syntax
public class PrimaryKey : ObjectConstructors
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. | 
