C# Class Sharp.Data.Databases.DataProvider

Inheritance: IDataProvider
显示文件 Open project: sharpmigrations/sharpmigrations

Public Methods

Method Description
CommandToBeExecutedAfterAnExceptionIsRaised ( ) : string
CommandToBeExecutedBeforeEachOther ( ) : string
ConfigCommand ( IDbCommand command, object parameters, bool isBulk ) : void
CreateSpecificException ( Exception exception, string sql ) : DatabaseException
GetConnection ( ) : IDbConnection
GetParameter ( ) : IDbDataParameter
GetParameter ( In parameter, bool isBulk ) : IDbDataParameter
GetParameterCursor ( ) : IDbDataParameter

Protected Methods

Method Description
DataProvider ( System.Data.Common.DbProviderFactory dbProviderFactory ) : System

Method Details

CommandToBeExecutedAfterAnExceptionIsRaised() public method

public CommandToBeExecutedAfterAnExceptionIsRaised ( ) : string
return string

CommandToBeExecutedBeforeEachOther() public method

public CommandToBeExecutedBeforeEachOther ( ) : string
return string

ConfigCommand() public method

public ConfigCommand ( IDbCommand command, object parameters, bool isBulk ) : void
command IDbCommand
parameters object
isBulk bool
return void

CreateSpecificException() public method

public CreateSpecificException ( Exception exception, string sql ) : DatabaseException
exception System.Exception
sql string
return DatabaseException

DataProvider() protected method

protected DataProvider ( System.Data.Common.DbProviderFactory dbProviderFactory ) : System
dbProviderFactory System.Data.Common.DbProviderFactory
return System

GetConnection() public method

public GetConnection ( ) : IDbConnection
return IDbConnection

GetParameter() public method

public GetParameter ( ) : IDbDataParameter
return IDbDataParameter

GetParameter() public method

public GetParameter ( In parameter, bool isBulk ) : IDbDataParameter
parameter In
isBulk bool
return IDbDataParameter

GetParameterCursor() public method

public GetParameterCursor ( ) : IDbDataParameter
return IDbDataParameter