C# 클래스 Migrator.Providers.Mysql.MySqlTransformationProvider

MySql transformation provider
상속: TransformationProvider
파일 보기 프로젝트 열기: nats/migratordotnet 1 사용 예제들

공개 메소드들

메소드 설명
AddTable ( string name ) : void
AddTable ( string name, string engine, string columns ) : void
ChangeColumn ( string table, string sqlColumn ) : void
ConstraintExists ( string table, string name ) : bool
GetColumns ( string table ) : Migrator.Framework.Column[]
GetTables ( ) : string[]
IndexExists ( string table, string name ) : bool
MySqlTransformationProvider ( Migrator.Framework.Dialect dialect, string connectionString ) : System
PrimaryKeyExists ( string table, string name ) : bool
RemoveConstraint ( string table, string name ) : void
RemoveForeignKey ( string table, string name ) : void
RemoveIndex ( string table, string name ) : void
RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void

메소드 상세

AddTable() 공개 메소드

public AddTable ( string name ) : void
name string
리턴 void

AddTable() 공개 메소드

public AddTable ( string name, string engine, string columns ) : void
name string
engine string
columns string
리턴 void

ChangeColumn() 공개 메소드

public ChangeColumn ( string table, string sqlColumn ) : void
table string
sqlColumn string
리턴 void

ConstraintExists() 공개 메소드

public ConstraintExists ( string table, string name ) : bool
table string
name string
리턴 bool

GetColumns() 공개 메소드

public GetColumns ( string table ) : Migrator.Framework.Column[]
table string
리턴 Migrator.Framework.Column[]

GetTables() 공개 메소드

public GetTables ( ) : string[]
리턴 string[]

IndexExists() 공개 메소드

public IndexExists ( string table, string name ) : bool
table string
name string
리턴 bool

MySqlTransformationProvider() 공개 메소드

public MySqlTransformationProvider ( Migrator.Framework.Dialect dialect, string connectionString ) : System
dialect Migrator.Framework.Dialect
connectionString string
리턴 System

PrimaryKeyExists() 공개 메소드

public PrimaryKeyExists ( string table, string name ) : bool
table string
name string
리턴 bool

RemoveConstraint() 공개 메소드

public RemoveConstraint ( string table, string name ) : void
table string
name string
리턴 void

RemoveForeignKey() 공개 메소드

public RemoveForeignKey ( string table, string name ) : void
table string
name string
리턴 void

RemoveIndex() 공개 메소드

public RemoveIndex ( string table, string name ) : void
table string
name string
리턴 void

RenameColumn() 공개 메소드

public RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void
tableName string
oldColumnName string
newColumnName string
리턴 void