Class GeneratorUtils
Facilitates various SQL-construction and logging tasks
Inheritance
System.Object
GeneratorUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Data.Access.Oracle
Assembly: Azos.Oracle.dll
Syntax
public static class GeneratorUtils
Methods
HasFieldInNamedKey(String, IDataStoreKey)
Declaration
public static bool HasFieldInNamedKey(string fieldName, IDataStoreKey key)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | |
IDataStoreKey | key |
Returns
Type | Description |
---|---|
System.Boolean |
KeyToWhere(IDataStoreKey, OracleParameterCollection)
Declaration
public static string KeyToWhere(IDataStoreKey key, OracleParameterCollection parameters)
Parameters
Type | Name | Description |
---|---|---|
IDataStoreKey | key | |
Oracle.ManagedDataAccess.Client.OracleParameterCollection | parameters |
Returns
Type | Description |
---|---|
System.String |
LogCommand(OracleDataStoreBase, String, OracleCommand, Exception)
Declaration
public static void LogCommand(OracleDataStoreBase store, string from, OracleCommand cmd, Exception error)
Parameters
Type | Name | Description |
---|---|---|
OracleDataStoreBase | store | |
System.String | from | |
Oracle.ManagedDataAccess.Client.OracleCommand | cmd | |
System.Exception | error |