C# 클래스 LX.EasyDb.Mapping.RelationalModel

Base class of relational models.
상속: IRelationalModel
파일 보기 프로젝트 열기: longshine/EasyDb.NET

공개 메소드들

메소드 설명
AddColumn ( Column column ) : void

Adds an associated column.

AddColumns ( IEnumerable columns ) : void

Adds associated columns.

ContainsColumn ( Column column ) : System.Boolean

Checks if a column is associated with this model.

ToSqlCreate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String

Generates SQL for creating this model.

ToSqlDrop ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String

Generates SQL for creating this model.

보호된 메소드들

메소드 설명
DoToSqlCreate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String

Generates SQL for creating this model.

DoToSqlDrop ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String

Generates SQL for creating this model.

메소드 상세

AddColumn() 공개 메소드

Adds an associated column.
public AddColumn ( Column column ) : void
column Column
리턴 void

AddColumns() 공개 메소드

Adds associated columns.
public AddColumns ( IEnumerable columns ) : void
columns IEnumerable
리턴 void

ContainsColumn() 공개 메소드

Checks if a column is associated with this model.
public ContainsColumn ( Column column ) : System.Boolean
column Column
리턴 System.Boolean

DoToSqlCreate() 보호된 추상적인 메소드

Generates SQL for creating this model.
protected abstract DoToSqlCreate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String
dialect Dialect
defaultCatalog String the default catalog name
defaultSchema String the default schema name
리턴 String

DoToSqlDrop() 보호된 추상적인 메소드

Generates SQL for creating this model.
protected abstract DoToSqlDrop ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String
dialect Dialect
defaultCatalog String the default catalog name
defaultSchema String the default schema name
리턴 String

ToSqlCreate() 공개 메소드

Generates SQL for creating this model.
public ToSqlCreate ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String
dialect Dialect
defaultCatalog String the default catalog name
defaultSchema String the default schema name
리턴 String

ToSqlDrop() 공개 메소드

Generates SQL for creating this model.
public ToSqlDrop ( Dialect dialect, String defaultCatalog, String defaultSchema ) : String
dialect Dialect
defaultCatalog String the default catalog name
defaultSchema String the default schema name
리턴 String