Class Oracle12
The Oracle12-class contains the functions necessary to run NetServer on Oracle 12 using the Oracle provider loaded dynamically. The Microsoft Oracle driver is deprecated and no longer supported.
Inherited Members
Namespace: SuperOffice.Data.Dialect
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class Oracle12 : OracleCommon
Methods
DataReaderGetDecimal(SoDataReader, IDataReader, int)
Gets the value of the specified column as a decimal.
Declaration
public override decimal DataReaderGetDecimal(SoDataReader soReader, IDataReader innerReader, int i)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | soReader | DataReader to read from. |
IDataReader | innerReader | |
int | i |
Returns
Type | Description |
---|---|
decimal |
Overrides
DataReaderGetDouble(SoDataReader, IDataReader, int)
Gets the value of the specified column as a double-precision floating point number.
Declaration
public override double DataReaderGetDouble(SoDataReader soReader, IDataReader innerReader, int i)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | soReader | DataReader to read from. |
IDataReader | innerReader | |
int | i |
Returns
Type | Description |
---|---|
double |
Overrides
DataReaderGetFloat(SoDataReader, IDataReader, int)
Gets the value of the specified column as a single-precision floating point number.
Declaration
public override float DataReaderGetFloat(SoDataReader soReader, IDataReader innerReader, int i)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | soReader | DataReader to read from. |
IDataReader | innerReader | |
int | i |
Returns
Type | Description |
---|---|
float |
Overrides
DataReaderGetInt16(SoDataReader, IDataReader, int)
Gets the value of the specified column as a 16-bit signed integer.
Declaration
public override short DataReaderGetInt16(SoDataReader soReader, IDataReader innerReader, int i)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | soReader | DataReader to read from. |
IDataReader | innerReader | inner data reader |
int | i | column index |
Returns
Type | Description |
---|---|
short | the integer or 0 if null |
Overrides
DataReaderGetItem(SoDataReader, IDataReader, int)
Oracle 12 specific data read - uses Oracle driver, so don't need special case
Declaration
protected override object DataReaderGetItem(SoDataReader soReader, IDataReader innerReader, int i)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | soReader | outer reader |
IDataReader | innerReader | inner reader |
int | i | column index |
Returns
Type | Description |
---|---|
object | number, string or whatever |
Overrides
GetIsolationLevel(IsolationLevel)
The oracle databases only support ReadCommitted or Serializable through the Microsoft Oracle data provider.
Declaration
public override IsolationLevel GetIsolationLevel(IsolationLevel requestedLevel)
Parameters
Type | Name | Description |
---|---|---|
IsolationLevel | requestedLevel | Requested isolation level |
Returns
Type | Description |
---|---|
IsolationLevel | Chaos, ReadUncommitted and ReadCommitted result in ReadCommitted. All other result in Serializable. |