C# Class SchemaZen.Library.Models.Table

Inheritance: INameable, IHasOwner, IScriptable
ファイルを表示 Open project: Zocdoc/schemazen Class Usage Examples

Public Properties

Property Type Description
Columns ColumnList
IsType bool

Public Methods

Method Description
AddConstraint ( Constraint constraint ) : void
Compare ( Table t ) : TableDiff
ConvertType ( string sqlType, string val ) : object
ExportData ( string conn, TextWriter data, string tableHint = null ) : void
FindConstraint ( string name ) : Constraint
ImportData ( string conn, string filename ) : void
RemoveContraint ( Constraint constraint ) : void
ScriptCreate ( ) : string
ScriptDrop ( ) : string
Table ( string owner, string name ) : System

Method Details

AddConstraint() public method

public AddConstraint ( Constraint constraint ) : void
constraint Constraint
return void

Compare() public method

public Compare ( Table t ) : TableDiff
t Table
return TableDiff

ConvertType() public static method

public static ConvertType ( string sqlType, string val ) : object
sqlType string
val string
return object

ExportData() public method

public ExportData ( string conn, TextWriter data, string tableHint = null ) : void
conn string
data System.IO.TextWriter
tableHint string
return void

FindConstraint() public method

public FindConstraint ( string name ) : Constraint
name string
return Constraint

ImportData() public method

public ImportData ( string conn, string filename ) : void
conn string
filename string
return void

RemoveContraint() public method

public RemoveContraint ( Constraint constraint ) : void
constraint Constraint
return void

ScriptCreate() public method

public ScriptCreate ( ) : string
return string

ScriptDrop() public method

public ScriptDrop ( ) : string
return string

Table() public method

public Table ( string owner, string name ) : System
owner string
name string
return System

Property Details

Columns public_oe property

public ColumnList,SchemaZen.Library.Models Columns
return ColumnList

IsType public_oe property

public bool IsType
return bool