C# Class SqlFu.Providers.SqlServer.SqlServerDbTools

Inheritance: IDatabaseTools
Show file Open project: sapiens/SqlFu

Public Methods

Method Description
DropTableIfExists ( DbConnection db, TableName table ) : void
SqlServerDbTools ( IEscapeIdentifier utils ) : System.Data.Common
TableExists ( DbConnection cnx, TableName table ) : bool

Method Details

DropTableIfExists() public method

public DropTableIfExists ( DbConnection db, TableName table ) : void
db System.Data.Common.DbConnection
table SqlFu.Configuration.TableName
return void

SqlServerDbTools() public method

public SqlServerDbTools ( IEscapeIdentifier utils ) : System.Data.Common
utils IEscapeIdentifier
return System.Data.Common

TableExists() public method

public TableExists ( DbConnection cnx, TableName table ) : bool
cnx System.Data.Common.DbConnection
table SqlFu.Configuration.TableName
return bool