C# Class DotNetWorkQueue.Transport.PostgreSQL.Schema.Constraint

Represents a constraint
ファイルを表示 Open project: blehnen/DotNetWorkQueue Class Usage Examples

Private Properties

Property Type Description
ConvertToString string

Public Methods

Method Description
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

Private Methods

Method Description
ConvertToString ( ContraintType type ) : string

Converts a constraint to a string

Method Details

Clone() public method

Clones this instance.
public Clone ( ) : Constraint
return Constraint

Constraint() public method

Initializes a new instance of the Constraint class.
public Constraint ( ) : System.Collections.Generic
return System.Collections.Generic

Constraint() public method

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.
return System.Collections.Generic

Constraint() public method

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.
return System.Collections.Generic

Script() public method

Translates this constraint into a SQL script
public Script ( ) : string
return string