C# Class Rhetos.Utilities.OracleSqlExecuter

Inheritance: ISqlExecuter
ファイルを表示 Open project: Rhetos/Rhetos

Public Methods

Method Description
ExecuteReader ( string command, Action action ) : void
ExecuteSql ( IEnumerable commands, bool useTransaction ) : void
OracleSqlExecuter ( ConnectionString connectionString, ILogProvider logProvider, IUserInfo userInfo ) : System

Private Methods

Method Description
ReportSqlErrors ( OracleException ex ) : string
SafeExecuteCommand ( Action action ) : void
TryRollback ( OracleTransaction transaction ) : void

Method Details

ExecuteReader() public method

public ExecuteReader ( string command, Action action ) : void
command string
action Action
return void

ExecuteSql() public method

public ExecuteSql ( IEnumerable commands, bool useTransaction ) : void
commands IEnumerable
useTransaction bool
return void

OracleSqlExecuter() public method

public OracleSqlExecuter ( ConnectionString connectionString, ILogProvider logProvider, IUserInfo userInfo ) : System
connectionString ConnectionString
logProvider ILogProvider
userInfo IUserInfo
return System