C# Class MigSharp.Providers.SqlServerProvider

Inheritance: SqlServerProviderBase
Afficher le fichier Open project: dradovic/MigSharp

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
DropDefaultConstraint ( TableName tableName, string columnName, bool checkIfExists ) : IEnumerable
GetTypeSpecifier ( DataType type, bool isRowVersion ) : string

Private Methods

Méthode Description
GetSchemaName ( TableName tableName ) : string
PrefixIfObjectExists ( string objectName, string schemaName, string commandTextToBePrefixed ) : string

Method Details

CreateSchema() public méthode

public CreateSchema ( string schemaName ) : IEnumerable
schemaName string
Résultat IEnumerable

DropColumn() public méthode

public DropColumn ( TableName tableName, string columnName ) : IEnumerable
tableName MigSharp.Core.TableName
columnName string
Résultat IEnumerable

DropDefaultConstraint() protected méthode

protected DropDefaultConstraint ( TableName tableName, string columnName, bool checkIfExists ) : IEnumerable
tableName MigSharp.Core.TableName
columnName string
checkIfExists bool
Résultat IEnumerable

DropIndex() public méthode

public DropIndex ( TableName tableName, string indexName ) : IEnumerable
tableName MigSharp.Core.TableName
indexName string
Résultat IEnumerable

DropSchema() public méthode

public DropSchema ( string schemaName ) : IEnumerable
schemaName string
Résultat IEnumerable

ExistsTable() public méthode

public ExistsTable ( string databaseName, TableName tableName ) : string
databaseName string
tableName MigSharp.Core.TableName
Résultat string

GetSchemaPrefix() public méthode

public GetSchemaPrefix ( TableName tableName ) : string
tableName MigSharp.Core.TableName
Résultat string

GetTypeSpecifier() protected méthode

protected GetTypeSpecifier ( DataType type, bool isRowVersion ) : string
type DataType
isRowVersion bool
Résultat string

RenameColumn() public méthode

public RenameColumn ( TableName tableName, string oldName, string newName ) : IEnumerable
tableName MigSharp.Core.TableName
oldName string
newName string
Résultat IEnumerable

RenamePrimaryKey() public méthode

public RenamePrimaryKey ( TableName tableName, string oldName, string newName ) : IEnumerable
tableName MigSharp.Core.TableName
oldName string
newName string
Résultat IEnumerable

RenameTable() public méthode

public RenameTable ( TableName oldName, string newName ) : IEnumerable
oldName MigSharp.Core.TableName
newName string
Résultat IEnumerable