C# Class SchemaZen.Library.Models.ForeignKey

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

Public Properties

Property Type Description
Check bool
Columns List
OnDelete string
OnUpdate string
RefColumns List
RefTable Table
Table Table

Public Methods

Method Description
ForeignKey ( Table table, string name, string columns, Table refTable, string refColumns ) : System
ForeignKey ( Table table, string name, string columns, Table refTable, string refColumns, string onUpdate, string onDelete ) : System
ForeignKey ( string name ) : System
ScriptCreate ( ) : string
ScriptDrop ( ) : string

Private Methods

Method Description
AssertArgNotNull ( object arg, string argName ) : void

Method Details

ForeignKey() public method

public ForeignKey ( Table table, string name, string columns, Table refTable, string refColumns ) : System
table Table
name string
columns string
refTable Table
refColumns string
return System

ForeignKey() public method

public ForeignKey ( Table table, string name, string columns, Table refTable, string refColumns, string onUpdate, string onDelete ) : System
table Table
name string
columns string
refTable Table
refColumns string
onUpdate string
onDelete string
return System

ForeignKey() public method

public ForeignKey ( string name ) : System
name string
return System

ScriptCreate() public method

public ScriptCreate ( ) : string
return string

ScriptDrop() public method

public ScriptDrop ( ) : string
return string

Property Details

Check public_oe property

public bool Check
return bool

Columns public_oe property

public List Columns
return List

OnDelete public_oe property

public string OnDelete
return string

OnUpdate public_oe property

public string OnUpdate
return string

RefColumns public_oe property

public List RefColumns
return List

RefTable public_oe property

public Table,SchemaZen.Library.Models RefTable
return Table

Table public_oe property

public Table,SchemaZen.Library.Models Table
return Table