C# Класс DotNetWorkQueue.Transport.SqlServer.Schema.Constraint

Represents a SQL server constraint
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ConvertToString string

Открытые методы

Метод Описание
Clone ( ) : Constraint

Clones this instance.

Constraint ( ) : System.Collections.Generic

Initializes a new instance of the Constraint class.

Constraint ( string name, ContraintType type, List columns ) : System.Collections.Generic

Initializes a new instance of the Constraint class.

Constraint ( string name, ContraintType type, string column ) : System.Collections.Generic

Initializes a new instance of the Constraint class.

Script ( ) : string

Translates this constraint into a SQL script

Приватные методы

Метод Описание
ConvertToString ( ContraintType type ) : string

Converts a constraint to a string

Описание методов

Clone() публичный Метод

Clones this instance.
public Clone ( ) : Constraint
Результат Constraint

Constraint() публичный Метод

Initializes a new instance of the Constraint class.
public Constraint ( ) : System.Collections.Generic
Результат System.Collections.Generic

Constraint() публичный Метод

Initializes a new instance of the Constraint class.
public Constraint ( string name, ContraintType type, List columns ) : System.Collections.Generic
name string The name.
type ContraintType The type.
columns List The columns.
Результат System.Collections.Generic

Constraint() публичный Метод

Initializes a new instance of the Constraint class.
public Constraint ( string name, ContraintType type, string column ) : System.Collections.Generic
name string The name.
type ContraintType The type.
column string The column.
Результат System.Collections.Generic

Script() публичный Метод

Translates this constraint into a SQL script
public Script ( ) : string
Результат string