C# 클래스 Marten.Generation.TableDefinition

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
BuildTemplate ( string template ) : string
Column ( string name ) : TableColumn
Equals ( object obj ) : bool
GetHashCode ( ) : int
HasColumn ( string name ) : bool
RemoveColumn ( string columnName ) : void
ReplaceOrAddColumn ( string name, string type, string directive = null ) : void
TableDefinition ( TableName table, TableColumn primaryKey ) : System
TableDefinition ( TableName table, string pkName, IEnumerable columns ) : System
ToDDL ( DdlRules rules ) : string
Write ( DdlRules rules, StringWriter writer ) : void
WriteTemplate ( DdlTemplate template, StringWriter writer ) : void

보호된 메소드들

메소드 설명
Equals ( TableDefinition other ) : bool

메소드 상세

BuildTemplate() 공개 메소드

public BuildTemplate ( string template ) : string
template string
리턴 string

Column() 공개 메소드

public Column ( string name ) : TableColumn
name string
리턴 TableColumn

Equals() 보호된 메소드

protected Equals ( TableDefinition other ) : bool
other TableDefinition
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

HasColumn() 공개 메소드

public HasColumn ( string name ) : bool
name string
리턴 bool

RemoveColumn() 공개 메소드

public RemoveColumn ( string columnName ) : void
columnName string
리턴 void

ReplaceOrAddColumn() 공개 메소드

public ReplaceOrAddColumn ( string name, string type, string directive = null ) : void
name string
type string
directive string
리턴 void

TableDefinition() 공개 메소드

public TableDefinition ( TableName table, TableColumn primaryKey ) : System
table TableName
primaryKey TableColumn
리턴 System

TableDefinition() 공개 메소드

public TableDefinition ( TableName table, string pkName, IEnumerable columns ) : System
table TableName
pkName string
columns IEnumerable
리턴 System

ToDDL() 공개 메소드

public ToDDL ( DdlRules rules ) : string
rules DdlRules
리턴 string

Write() 공개 메소드

public Write ( DdlRules rules, StringWriter writer ) : void
rules DdlRules
writer System.IO.StringWriter
리턴 void

WriteTemplate() 공개 메소드

public WriteTemplate ( DdlTemplate template, StringWriter writer ) : void
template DdlTemplate
writer System.IO.StringWriter
리턴 void