Struct OracleCRUDQueryExecutionContext
Provides query execution environment in Oracle context
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Data.Access.Oracle
Assembly: Azos.Oracle.dll
Syntax
public struct OracleCRUDQueryExecutionContext : ICRUDQueryExecutionContext
Constructors
OracleCRUDQueryExecutionContext(OracleDataStoreBase, OracleConnection, OracleTransaction)
Declaration
public OracleCRUDQueryExecutionContext(OracleDataStoreBase store, OracleConnection cnn, OracleTransaction trans)
Parameters
Type | Name | Description |
---|---|---|
OracleDataStoreBase | store | |
Oracle.ManagedDataAccess.Client.OracleConnection | cnn | |
Oracle.ManagedDataAccess.Client.OracleTransaction | trans |
Fields
Connection
Declaration
public readonly OracleConnection Connection
Field Value
Type | Description |
---|---|
Oracle.ManagedDataAccess.Client.OracleConnection |
DataStore
Declaration
public readonly OracleDataStoreBase DataStore
Field Value
Type | Description |
---|---|
OracleDataStoreBase |
Transaction
Declaration
public readonly OracleTransaction Transaction
Field Value
Type | Description |
---|---|
Oracle.ManagedDataAccess.Client.OracleTransaction |
Methods
CLRValueToDB(OracleDataStoreBase, Object, out Nullable<OracleDbType>)
Based on store settings, converts CLR value to MySQL-acceptable value, i.e. GDID -> BYTE[].
Declaration
public object CLRValueToDB(OracleDataStoreBase store, object value, out OracleDbType? convertedDbType)
Parameters
Type | Name | Description |
---|---|---|
OracleDataStoreBase | store | |
System.Object | value | |
System.Nullable<Oracle.ManagedDataAccess.Client.OracleDbType> | convertedDbType |
Returns
Type | Description |
---|---|
System.Object |
ConvertParameters(OracleParameterCollection)
Based on store settings, converts query parameters into MySQL-acceptable values, i.e. GDID -> BYTe[]. This function is not idempotent
Declaration
public void ConvertParameters(OracleParameterCollection pars)
Parameters
Type | Name | Description |
---|---|---|
Oracle.ManagedDataAccess.Client.OracleParameterCollection | pars |