C# Class SchemaZen.Library.Models.Constraint

Inheritance: INameable, IScriptable
Show file Open project: Zocdoc/schemazen Class Usage Examples

Public Properties

Property Type Description
Clustered bool
Columns List
Filter string
IncludedColumns List
Table Table
Type string
Unique bool

Public Methods

Method Description
Constraint ( string name, string type, string columns ) : System.Collections.Generic
CreateCheckedConstraint ( string name, bool isNotForReplication, string checkConstraintExpression ) : Constraint
ScriptCreate ( ) : string

Method Details

Constraint() public method

public Constraint ( string name, string type, string columns ) : System.Collections.Generic
name string
type string
columns string
return System.Collections.Generic

CreateCheckedConstraint() public static method

public static CreateCheckedConstraint ( string name, bool isNotForReplication, string checkConstraintExpression ) : Constraint
name string
isNotForReplication bool
checkConstraintExpression string
return Constraint

ScriptCreate() public method

public ScriptCreate ( ) : string
return string

Property Details

Clustered public property

public bool Clustered
return bool

Columns public property

public List Columns
return List

Filter public property

public string Filter
return string

IncludedColumns public property

public List IncludedColumns
return List

Table public property

public Table,SchemaZen.Library.Models Table
return Table

Type public property

public string Type
return string

Unique public property

public bool Unique
return bool