C# Class NHibernate.Driver.FirebirdClientDriver

A NHibernate Driver for using the Firebird data provider located in FirebirdSql.Data.FirebirdClient assembly.
Inheritance: NHibernate.Driver.ReflectionBasedDriver
Mostra file Open project: nhibernate/nhibernate-core Class Usage Examples

Public Methods

Method Description
FirebirdClientDriver ( ) : System.Collections.Generic

Initializes a new instance of the FirebirdClientDriver class.

GenerateCommand ( CommandType type, SqlString sqlString, SqlType parameterTypes ) : IDbCommand

Protected Methods

Method Description
InitializeParameter ( IDbDataParameter dbParam, string name, SqlType sqlType ) : void

Private Methods

Method Description
GetCastCandidates ( string statement ) : HashSet
GetFbTypeFromDbType ( DbType dbType ) : string
GetStatementsWithCastCandidates ( string commandText ) : string
TypeCastParam ( IDbDataParameter param, IDbCommand command ) : void

Method Details

FirebirdClientDriver() public method

Initializes a new instance of the FirebirdClientDriver class.
/// Thrown when the FirebirdSql.Data.Firebird assembly can not be loaded. ///
public FirebirdClientDriver ( ) : System.Collections.Generic
return System.Collections.Generic

GenerateCommand() public method

public GenerateCommand ( CommandType type, SqlString sqlString, SqlType parameterTypes ) : IDbCommand
type CommandType
sqlString SqlString
parameterTypes SqlType
return IDbCommand

InitializeParameter() protected method

protected InitializeParameter ( IDbDataParameter dbParam, string name, SqlType sqlType ) : void
dbParam IDbDataParameter
name string
sqlType SqlType
return void