C# Class Pilgrim.Providers.PostgreSQL.PostgreSQLTransformationProvider

Migration transformations provider for Microsoft SQL Server.
Inheritance: TransformationProvider
显示文件 Open project: juanplopes/pilgrim

Public Methods

Method Description
ChangeColumn ( string table, Column column ) : void
ColumnExists ( string table, string column ) : bool
ConstraintExists ( string table, string name ) : bool
GetColumnByName ( string table, string columnName ) : Column
GetColumns ( string table ) : Column[]
GetTables ( ) : string[]
PostgreSQLTransformationProvider ( Dialect dialect, string invariantProvider, string connectionString ) : System
RemoveTable ( string name ) : void
TableExists ( string table ) : bool

Method Details

ChangeColumn() public method

public ChangeColumn ( string table, Column column ) : void
table string
column Column
return void

ColumnExists() public method

public ColumnExists ( string table, string column ) : bool
table string
column string
return bool

ConstraintExists() public method

public ConstraintExists ( string table, string name ) : bool
table string
name string
return bool

GetColumnByName() public method

public GetColumnByName ( string table, string columnName ) : Column
table string
columnName string
return Column

GetColumns() public method

public GetColumns ( string table ) : Column[]
table string
return Column[]

GetTables() public method

public GetTables ( ) : string[]
return string[]

PostgreSQLTransformationProvider() public method

public PostgreSQLTransformationProvider ( Dialect dialect, string invariantProvider, string connectionString ) : System
dialect Dialect
invariantProvider string
connectionString string
return System

RemoveTable() public method

public RemoveTable ( string name ) : void
name string
return void

TableExists() public method

public TableExists ( string table ) : bool
table string
return bool