C# Class Bosphorus.Dao.NHibernate.Extension.Driver.OracleManaged.OracleManagedDataClientDriver

A NHibernate Driver for using the Oracle.ManagedDataAccess DataProvider
Inheritance: NHibernate.Driver.ReflectionBasedDriver, IEmbeddedBatcherFactoryProvider
Exibir arquivo Open project: BosphorusTeam/bosphorus.dao

Private Properties

Property Type Description
InitializeParameter void

Public Methods

Method Description
OracleManagedDataClientDriver ( ) : System

Initializes a new instance of OracleDataClientDriver.

Protected Methods

Method Description
InitializeParameter ( IDbDataParameter dbParam, string name, NHibernate.SqlTypes.SqlType sqlType ) : void This adds logic to ensure that a DbType.Boolean parameter is not created since ODP.NET doesn't support it.
OnBeforePrepare ( IDbCommand command ) : void

Private Methods

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

Method Details

InitializeParameter() protected method

This adds logic to ensure that a DbType.Boolean parameter is not created since ODP.NET doesn't support it.
protected InitializeParameter ( IDbDataParameter dbParam, string name, NHibernate.SqlTypes.SqlType sqlType ) : void
dbParam IDbDataParameter
name string
sqlType NHibernate.SqlTypes.SqlType
return void

OnBeforePrepare() protected method

protected OnBeforePrepare ( IDbCommand command ) : void
command IDbCommand
return void

OracleManagedDataClientDriver() public method

Initializes a new instance of OracleDataClientDriver.
/// Thrown when the Oracle.ManagedDataAccess assembly can not be loaded. ///
public OracleManagedDataClientDriver ( ) : System
return System