C# 클래스 SalarDbCodeGenerator.Schema.Database.DbTable

파일 보기 프로젝트 열기: GitOffice/SalarDbCodeGenerator 1 사용 예제들

공개 메소드들

메소드 설명
DbTable ( string tableName ) : System
DbTable ( string tableName, List schemaColumns ) : System
DbTable ( string tableName, List schemaColumns, List foreignKeys ) : System
DbTable ( string tableName, List schemaColumns, List foreignKeys, List constraintKeys ) : System
FindColumnDb ( string fieldName ) : DbColumn
FindColumnSchema ( string fieldName ) : DbColumn
GetAutoIncrementCount ( ) : int

Returns number of auto increment columns

GetFirstAutoIncrementField ( ) : DbColumn

Returns number of auto increment columns

GetPrimaryKey ( ) : DbColumn
HasAutoIncrement ( ) : bool

Checks if this table has auto increment column or not

HasPrimaryKey ( ) : bool

Checks if this table has primary key or not

ToString ( ) : string

비공개 메소드들

메소드 설명
FindColumns__ ( string fieldName ) : List

메소드 상세

DbTable() 공개 메소드

public DbTable ( string tableName ) : System
tableName string
리턴 System

DbTable() 공개 메소드

public DbTable ( string tableName, List schemaColumns ) : System
tableName string
schemaColumns List
리턴 System

DbTable() 공개 메소드

public DbTable ( string tableName, List schemaColumns, List foreignKeys ) : System
tableName string
schemaColumns List
foreignKeys List
리턴 System

DbTable() 공개 메소드

public DbTable ( string tableName, List schemaColumns, List foreignKeys, List constraintKeys ) : System
tableName string
schemaColumns List
foreignKeys List
constraintKeys List
리턴 System

FindColumnDb() 공개 메소드

public FindColumnDb ( string fieldName ) : DbColumn
fieldName string
리턴 DbColumn

FindColumnSchema() 공개 메소드

public FindColumnSchema ( string fieldName ) : DbColumn
fieldName string
리턴 DbColumn

GetAutoIncrementCount() 공개 메소드

Returns number of auto increment columns
public GetAutoIncrementCount ( ) : int
리턴 int

GetFirstAutoIncrementField() 공개 메소드

Returns number of auto increment columns
public GetFirstAutoIncrementField ( ) : DbColumn
리턴 DbColumn

GetPrimaryKey() 공개 메소드

public GetPrimaryKey ( ) : DbColumn
리턴 DbColumn

HasAutoIncrement() 공개 메소드

Checks if this table has auto increment column or not
public HasAutoIncrement ( ) : bool
리턴 bool

HasPrimaryKey() 공개 메소드

Checks if this table has primary key or not
public HasPrimaryKey ( ) : bool
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string