Craig's Utility Library  4.0 Beta
Utilities.ORM.Manager.Schema.Interfaces.IColumn Interface Reference

Column interface More...

Inheritance diagram for Utilities.ORM.Manager.Schema.Interfaces.IColumn:
Utilities.ORM.Manager.Schema.Default.Database.Column< T >

Public Member Functions

void AddForeignKey (string ForeignKeyTable, string ForeignKeyColumn)
 Add foreign key More...
 
void SetupForeignKeys ()
 Sets up the foreign key list More...
 

Properties

bool AutoIncrement [get, set]
 Auto increment? More...
 
DbType DataType [get, set]
 Data type More...
 
string Default [get, set]
 Default value More...
 
ICollection< IColumnForeignKey [get]
 Foreign keys More...
 
bool Index [get, set]
 Index? More...
 
int Length [get, set]
 Data length More...
 
string Name [get, set]
 Name More...
 
bool Nullable [get, set]
 Nullable? More...
 
bool OnDeleteCascade [get, set]
 On Delete Cascade More...
 
bool OnDeleteSetNull [get, set]
 On Delete Set Null More...
 
bool OnUpdateCascade [get, set]
 On Update Cascade More...
 
ITable ParentTable [get, set]
 Parent table More...
 
bool PrimaryKey [get, set]
 Primary key? More...
 
bool Unique [get, set]
 Unique? More...
 

Detailed Description

Column interface

Definition at line 30 of file IColumn.cs.

Member Function Documentation

void Utilities.ORM.Manager.Schema.Interfaces.IColumn.AddForeignKey ( string  ForeignKeyTable,
string  ForeignKeyColumn 
)

Add foreign key

Parameters
ForeignKeyTableTable of the foreign key
ForeignKeyColumnColumn of the foreign key

Implemented in Utilities.ORM.Manager.Schema.Default.Database.Column< T >.

void Utilities.ORM.Manager.Schema.Interfaces.IColumn.SetupForeignKeys ( )

Sets up the foreign key list

Implemented in Utilities.ORM.Manager.Schema.Default.Database.Column< T >.

Property Documentation

bool Utilities.ORM.Manager.Schema.Interfaces.IColumn.AutoIncrement
getset

Auto increment?

Definition at line 35 of file IColumn.cs.

DbType Utilities.ORM.Manager.Schema.Interfaces.IColumn.DataType
getset

Data type

Definition at line 40 of file IColumn.cs.

string Utilities.ORM.Manager.Schema.Interfaces.IColumn.Default
getset

Default value

Definition at line 45 of file IColumn.cs.

ICollection<IColumn> Utilities.ORM.Manager.Schema.Interfaces.IColumn.ForeignKey
get

Foreign keys

Definition at line 50 of file IColumn.cs.

bool Utilities.ORM.Manager.Schema.Interfaces.IColumn.Index
getset

Index?

Definition at line 55 of file IColumn.cs.

int Utilities.ORM.Manager.Schema.Interfaces.IColumn.Length
getset

Data length

Definition at line 60 of file IColumn.cs.

string Utilities.ORM.Manager.Schema.Interfaces.IColumn.Name
getset

Name

Definition at line 65 of file IColumn.cs.

bool Utilities.ORM.Manager.Schema.Interfaces.IColumn.Nullable
getset

Nullable?

Definition at line 70 of file IColumn.cs.

bool Utilities.ORM.Manager.Schema.Interfaces.IColumn.OnDeleteCascade
getset

On Delete Cascade

Definition at line 75 of file IColumn.cs.

bool Utilities.ORM.Manager.Schema.Interfaces.IColumn.OnDeleteSetNull
getset

On Delete Set Null

Definition at line 80 of file IColumn.cs.

bool Utilities.ORM.Manager.Schema.Interfaces.IColumn.OnUpdateCascade
getset

On Update Cascade

Definition at line 85 of file IColumn.cs.

ITable Utilities.ORM.Manager.Schema.Interfaces.IColumn.ParentTable
getset

Parent table

Definition at line 90 of file IColumn.cs.

bool Utilities.ORM.Manager.Schema.Interfaces.IColumn.PrimaryKey
getset

Primary key?

Definition at line 95 of file IColumn.cs.

bool Utilities.ORM.Manager.Schema.Interfaces.IColumn.Unique
getset

Unique?

Definition at line 100 of file IColumn.cs.


The documentation for this interface was generated from the following file: