C# Class Rhetos.Utilities.OracleSqlUtility

Inheritance: ISqlUtility
Datei anzeigen Open project: Rhetos/Rhetos Class Usage Examples

Public Methods

Method Description
ExtractSqlException ( Exception exception ) : Exception
InterpretSqlException ( Exception exception ) : RhetosException

See ISqlUtility.InterpretSqlException.

LimitIdentifierLength ( string name ) : string
SetNationalLanguageQuery ( ) : string

Returns an SQL query that is used to set the national language, for string comparison and sorting.

SetSqlUserInfo ( OracleConnection connection, IUserInfo userInfo ) : void

Provides the user information to the database, for logging and similar features.

Method Details

ExtractSqlException() public method

public ExtractSqlException ( Exception exception ) : Exception
exception System.Exception
return System.Exception

InterpretSqlException() public method

See ISqlUtility.InterpretSqlException.
public InterpretSqlException ( Exception exception ) : RhetosException
exception System.Exception
return RhetosException

LimitIdentifierLength() public static method

public static LimitIdentifierLength ( string name ) : string
name string
return string

SetNationalLanguageQuery() public static method

Returns an SQL query that is used to set the national language, for string comparison and sorting.
public static SetNationalLanguageQuery ( ) : string
return string

SetSqlUserInfo() public static method

Provides the user information to the database, for logging and similar features.
public static SetSqlUserInfo ( OracleConnection connection, IUserInfo userInfo ) : void
connection OracleConnection
userInfo IUserInfo
return void