C# Class Simple.Migrator.Providers.Oracle.OracleTransformationProvider

Inheritance: TransformationProvider
ファイルを表示 Open project: juanplopes/simple

Public Methods

Method Description
AddColumn ( string table, string sqlColumn ) : void
AddForeignKey ( string name, string primaryTable, string primaryColumns, string refTable, string refColumns, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void
ChangeColumn ( string table, string sqlColumn ) : void
ColumnExists ( string table, string column ) : bool
ConstraintExists ( string table, string name ) : bool
GetColumns ( string table ) : Column[]
GetTables ( ) : string[]
OracleTransformationProvider ( Dialect dialect, string invariantProvider, string connectionString ) : System
TableExists ( string table ) : bool

Method Details

AddColumn() public method

public AddColumn ( string table, string sqlColumn ) : void
table string
sqlColumn string
return void

AddForeignKey() public method

public AddForeignKey ( string name, string primaryTable, string primaryColumns, string refTable, string refColumns, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void
name string
primaryTable string
primaryColumns string
refTable string
refColumns string
constraint Simple.Migrator.Framework.ForeignKeyConstraint
return void

ChangeColumn() public method

public ChangeColumn ( string table, string sqlColumn ) : void
table string
sqlColumn string
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

GetColumns() public method

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

GetTables() public method

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

OracleTransformationProvider() public method

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

TableExists() public method

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