C# 클래스 Simple.Migrator.Providers.NoOpTransformationProvider

No Op (Null Object Pattern) implementation of the ITransformationProvider
상속: ITransformationProvider
파일 보기 프로젝트 열기: juanplopes/simple

공개 프로퍼티들

프로퍼티 타입 설명
Instance NoOpTransformationProvider

공개 메소드들

메소드 설명
AddCheckConstraint ( string name, string table, string checkSql ) : void
AddColumn ( string table, Column column ) : void
AddColumn ( string table, string sqlColumn ) : void
AddColumn ( string table, string column, DbType type ) : void
AddColumn ( string table, string column, DbType type, ColumnProperty property ) : void
AddColumn ( string table, string column, DbType type, int size ) : void
AddColumn ( string table, string column, DbType type, int size, ColumnProperty property ) : void
AddColumn ( string table, string column, DbType type, int size, ColumnProperty property, object defaultValue ) : void
AddColumn ( string table, string column, DbType type, object defaultValue ) : void
AddForeignKey ( string name, string primaryTable, string primaryColumn, string refTable, string refColumn ) : void
AddForeignKey ( string name, string primaryTable, string primaryColumn, string refTable, string refColumn, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void
AddIndex ( string name, string table ) : void
AddPrimaryKey ( string name, string table ) : void
AddTable ( string name ) : void
AddTable ( string name, string engine ) : void
AddUniqueConstraint ( string name, string table ) : void
BeginTransaction ( ) : void
ChangeColumn ( string table, Column column ) : void
ColumnExists ( string table, string column ) : bool
Commit ( ) : void
ConstraintExists ( string table, string name ) : bool
Delete ( string table, string columns, string columnValues ) : int
Dispose ( ) : void
ExecuteNonQuery ( string sql ) : int
ExecuteQuery ( string sql ) : IDataReader
ExecuteScalar ( string sql ) : object
GenerateForeignKey ( string primaryTable, string refTable ) : void
GenerateForeignKey ( string primaryTable, string refTable, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void
GenerateForeignKey ( string primaryTable, string primaryColumn, string refTable, string refColumn ) : void
GenerateForeignKey ( string primaryTable, string primaryColumn, string refTable, string refColumn, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void
GetColumnByName ( string table, string column ) : Column
GetColumns ( string table ) : Column[]
GetCommand ( ) : IDbCommand
GetTables ( ) : string[]
Insert ( string table, string columns, string columnValues ) : int
MigrationApplied ( long version ) : void
MigrationUnApplied ( long version ) : void
PrimaryKeyExists ( string table, string name ) : bool
RemoveColumn ( string table, string column ) : void
RemoveConstraint ( string table, string name ) : void
RemoveForeignKey ( string table, string name ) : void
RemoveIndex ( string name, string table ) : void
RemoveTable ( string name ) : void
RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void
RenameTable ( string oldName, string newName ) : void
Rollback ( ) : void
SchemaInfoName ( string schemainfoname ) : void
Select ( string what, string from ) : IDataReader
Select ( string what, string from, string where ) : IDataReader
Select ( string what, string from, string where, string orderBy ) : IDataReader
SelectScalar ( string what, string from ) : object
SelectScalar ( string what, string from, string where ) : object
SelectScalar ( string what, string from, string where, string orderBy ) : object
TableExists ( string table ) : bool
Update ( string table, string columns, string columnValues ) : int
Update ( string table, string columns, string columnValues, string where ) : int
this ( string provider ) : ITransformationProvider

보호된 메소드들

메소드 설명
CreateSchemaInfoTable ( ) : void

비공개 메소드들

메소드 설명
NoOpTransformationProvider ( ) : System.Collections.Generic

메소드 상세

AddCheckConstraint() 공개 메소드

public AddCheckConstraint ( string name, string table, string checkSql ) : void
name string
table string
checkSql string
리턴 void

AddColumn() 공개 메소드

public AddColumn ( string table, Column column ) : void
table string
column Column
리턴 void

AddColumn() 공개 메소드

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

AddColumn() 공개 메소드

public AddColumn ( string table, string column, DbType type ) : void
table string
column string
type DbType
리턴 void

AddColumn() 공개 메소드

public AddColumn ( string table, string column, DbType type, ColumnProperty property ) : void
table string
column string
type DbType
property ColumnProperty
리턴 void

AddColumn() 공개 메소드

public AddColumn ( string table, string column, DbType type, int size ) : void
table string
column string
type DbType
size int
리턴 void

AddColumn() 공개 메소드

public AddColumn ( string table, string column, DbType type, int size, ColumnProperty property ) : void
table string
column string
type DbType
size int
property ColumnProperty
리턴 void

AddColumn() 공개 메소드

public AddColumn ( string table, string column, DbType type, int size, ColumnProperty property, object defaultValue ) : void
table string
column string
type DbType
size int
property ColumnProperty
defaultValue object
리턴 void

AddColumn() 공개 메소드

public AddColumn ( string table, string column, DbType type, object defaultValue ) : void
table string
column string
type DbType
defaultValue object
리턴 void

AddForeignKey() 공개 메소드

public AddForeignKey ( string name, string primaryTable, string primaryColumn, string refTable, string refColumn ) : void
name string
primaryTable string
primaryColumn string
refTable string
refColumn string
리턴 void

AddForeignKey() 공개 메소드

public AddForeignKey ( string name, string primaryTable, string primaryColumn, string refTable, string refColumn, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void
name string
primaryTable string
primaryColumn string
refTable string
refColumn string
constraint Simple.Migrator.Framework.ForeignKeyConstraint
리턴 void

AddIndex() 공개 메소드

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

AddPrimaryKey() 공개 메소드

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

AddTable() 공개 메소드

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

AddTable() 공개 메소드

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

AddUniqueConstraint() 공개 메소드

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

BeginTransaction() 공개 메소드

public BeginTransaction ( ) : void
리턴 void

ChangeColumn() 공개 메소드

public ChangeColumn ( string table, Column column ) : void
table string
column Column
리턴 void

ColumnExists() 공개 메소드

public ColumnExists ( string table, string column ) : bool
table string
column string
리턴 bool

Commit() 공개 메소드

public Commit ( ) : void
리턴 void

ConstraintExists() 공개 메소드

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

CreateSchemaInfoTable() 보호된 메소드

protected CreateSchemaInfoTable ( ) : void
리턴 void

Delete() 공개 메소드

public Delete ( string table, string columns, string columnValues ) : int
table string
columns string
columnValues string
리턴 int

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExecuteNonQuery() 공개 메소드

public ExecuteNonQuery ( string sql ) : int
sql string
리턴 int

ExecuteQuery() 공개 메소드

public ExecuteQuery ( string sql ) : IDataReader
sql string
리턴 IDataReader

ExecuteScalar() 공개 메소드

public ExecuteScalar ( string sql ) : object
sql string
리턴 object

GenerateForeignKey() 공개 메소드

public GenerateForeignKey ( string primaryTable, string refTable ) : void
primaryTable string
refTable string
리턴 void

GenerateForeignKey() 공개 메소드

public GenerateForeignKey ( string primaryTable, string refTable, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void
primaryTable string
refTable string
constraint Simple.Migrator.Framework.ForeignKeyConstraint
리턴 void

GenerateForeignKey() 공개 메소드

public GenerateForeignKey ( string primaryTable, string primaryColumn, string refTable, string refColumn ) : void
primaryTable string
primaryColumn string
refTable string
refColumn string
리턴 void

GenerateForeignKey() 공개 메소드

public GenerateForeignKey ( string primaryTable, string primaryColumn, string refTable, string refColumn, Simple.Migrator.Framework.ForeignKeyConstraint constraint ) : void
primaryTable string
primaryColumn string
refTable string
refColumn string
constraint Simple.Migrator.Framework.ForeignKeyConstraint
리턴 void

GetColumnByName() 공개 메소드

public GetColumnByName ( string table, string column ) : Column
table string
column string
리턴 Column

GetColumns() 공개 메소드

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

GetCommand() 공개 메소드

public GetCommand ( ) : IDbCommand
리턴 IDbCommand

GetTables() 공개 메소드

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

Insert() 공개 메소드

public Insert ( string table, string columns, string columnValues ) : int
table string
columns string
columnValues string
리턴 int

MigrationApplied() 공개 메소드

public MigrationApplied ( long version ) : void
version long
리턴 void

MigrationUnApplied() 공개 메소드

public MigrationUnApplied ( long version ) : void
version long
리턴 void

PrimaryKeyExists() 공개 메소드

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

RemoveColumn() 공개 메소드

public RemoveColumn ( string table, string column ) : void
table string
column string
리턴 void

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 name, string table ) : void
name string
table string
리턴 void

RemoveTable() 공개 메소드

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

RenameColumn() 공개 메소드

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

RenameTable() 공개 메소드

public RenameTable ( string oldName, string newName ) : void
oldName string
newName string
리턴 void

Rollback() 공개 메소드

public Rollback ( ) : void
리턴 void

SchemaInfoName() 공개 메소드

public SchemaInfoName ( string schemainfoname ) : void
schemainfoname string
리턴 void

Select() 공개 메소드

public Select ( string what, string from ) : IDataReader
what string
from string
리턴 IDataReader

Select() 공개 메소드

public Select ( string what, string from, string where ) : IDataReader
what string
from string
where string
리턴 IDataReader

Select() 공개 메소드

public Select ( string what, string from, string where, string orderBy ) : IDataReader
what string
from string
where string
orderBy string
리턴 IDataReader

SelectScalar() 공개 메소드

public SelectScalar ( string what, string from ) : object
what string
from string
리턴 object

SelectScalar() 공개 메소드

public SelectScalar ( string what, string from, string where ) : object
what string
from string
where string
리턴 object

SelectScalar() 공개 메소드

public SelectScalar ( string what, string from, string where, string orderBy ) : object
what string
from string
where string
orderBy string
리턴 object

TableExists() 공개 메소드

public TableExists ( string table ) : bool
table string
리턴 bool

Update() 공개 메소드

public Update ( string table, string columns, string columnValues ) : int
table string
columns string
columnValues string
리턴 int

Update() 공개 메소드

public Update ( string table, string columns, string columnValues, string where ) : int
table string
columns string
columnValues string
where string
리턴 int

this() 공개 메소드

public this ( string provider ) : ITransformationProvider
provider string
리턴 ITransformationProvider

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

public static NoOpTransformationProvider,Simple.Migrator.Providers Instance
리턴 NoOpTransformationProvider