C# 클래스 MigSharp.Providers.SqlServerProvider

상속: SqlServerProviderBase
파일 보기 프로젝트 열기: dradovic/MigSharp

공개 메소드들

메소드 설명
CreateSchema ( string schemaName ) : IEnumerable
DropColumn ( TableName tableName, string columnName ) : IEnumerable
DropIndex ( TableName tableName, string indexName ) : IEnumerable
DropSchema ( string schemaName ) : IEnumerable
ExistsTable ( string databaseName, TableName tableName ) : string
GetSchemaPrefix ( TableName tableName ) : string
RenameColumn ( TableName tableName, string oldName, string newName ) : IEnumerable
RenamePrimaryKey ( TableName tableName, string oldName, string newName ) : IEnumerable
RenameTable ( TableName oldName, string newName ) : IEnumerable

보호된 메소드들

메소드 설명
DropDefaultConstraint ( TableName tableName, string columnName, bool checkIfExists ) : IEnumerable
GetTypeSpecifier ( DataType type, bool isRowVersion ) : string

비공개 메소드들

메소드 설명
GetSchemaName ( TableName tableName ) : string
PrefixIfObjectExists ( string objectName, string schemaName, string commandTextToBePrefixed ) : string

메소드 상세

CreateSchema() 공개 메소드

public CreateSchema ( string schemaName ) : IEnumerable
schemaName string
리턴 IEnumerable

DropColumn() 공개 메소드

public DropColumn ( TableName tableName, string columnName ) : IEnumerable
tableName MigSharp.Core.TableName
columnName string
리턴 IEnumerable

DropDefaultConstraint() 보호된 메소드

protected DropDefaultConstraint ( TableName tableName, string columnName, bool checkIfExists ) : IEnumerable
tableName MigSharp.Core.TableName
columnName string
checkIfExists bool
리턴 IEnumerable

DropIndex() 공개 메소드

public DropIndex ( TableName tableName, string indexName ) : IEnumerable
tableName MigSharp.Core.TableName
indexName string
리턴 IEnumerable

DropSchema() 공개 메소드

public DropSchema ( string schemaName ) : IEnumerable
schemaName string
리턴 IEnumerable

ExistsTable() 공개 메소드

public ExistsTable ( string databaseName, TableName tableName ) : string
databaseName string
tableName MigSharp.Core.TableName
리턴 string

GetSchemaPrefix() 공개 메소드

public GetSchemaPrefix ( TableName tableName ) : string
tableName MigSharp.Core.TableName
리턴 string

GetTypeSpecifier() 보호된 메소드

protected GetTypeSpecifier ( DataType type, bool isRowVersion ) : string
type DataType
isRowVersion bool
리턴 string

RenameColumn() 공개 메소드

public RenameColumn ( TableName tableName, string oldName, string newName ) : IEnumerable
tableName MigSharp.Core.TableName
oldName string
newName string
리턴 IEnumerable

RenamePrimaryKey() 공개 메소드

public RenamePrimaryKey ( TableName tableName, string oldName, string newName ) : IEnumerable
tableName MigSharp.Core.TableName
oldName string
newName string
리턴 IEnumerable

RenameTable() 공개 메소드

public RenameTable ( TableName oldName, string newName ) : IEnumerable
oldName MigSharp.Core.TableName
newName string
리턴 IEnumerable