C# Class NHibernate.Driver.FirebirdClientDriver

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

Méthodes publiques

Méthode Description
FirebirdClientDriver ( ) : System.Collections.Generic

Initializes a new instance of the FirebirdClientDriver class.

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

Méthodes protégées

Méthode Description
InitializeParameter ( IDbDataParameter dbParam, string name, SqlType sqlType ) : void

Private Methods

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

Method Details

FirebirdClientDriver() public méthode

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

GenerateCommand() public méthode

public GenerateCommand ( CommandType type, SqlString sqlString, SqlType parameterTypes ) : IDbCommand
type CommandType
sqlString SqlString
parameterTypes SqlType
Résultat IDbCommand

InitializeParameter() protected méthode

protected InitializeParameter ( IDbDataParameter dbParam, string name, SqlType sqlType ) : void
dbParam IDbDataParameter
name string
sqlType SqlType
Résultat void