C# Класс MigSharp.Providers.SqlServerProvider

Наследование: SqlServerProviderBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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