Definition at line 28 of file DeveelDbConnection.cs.
Definition at line 40 of file DeveelDbConnection.cs.
41 Client =
new ConnectionClient(connector,settings);
DeveelDbConnectionStringBuilder connectionString
void Deveel.Data.Client.DeveelDbConnection.AssertClosed |
( |
| ) |
|
|
inlineprivate |
Definition at line 187 of file DeveelDbConnection.cs.
188 if (
state != ConnectionState.Closed)
189 throw new InvalidOperationException(
"The connection is not closed.");
void Deveel.Data.Client.DeveelDbConnection.AssertFetching |
( |
| ) |
|
|
inlineprivate |
Definition at line 192 of file DeveelDbConnection.cs.
193 if (
state != ConnectionState.Fetching)
194 throw new InvalidOperationException(
"The connection is not fetching data.");
override DbTransaction Deveel.Data.Client.DeveelDbConnection.BeginDbTransaction |
( |
IsolationLevel |
isolationLevel | ) |
|
|
inlineprotected |
Definition at line 64 of file DeveelDbConnection.cs.
new DeveelDbTransaction BeginTransaction(IsolationLevel isolationLevel)
int Deveel.Data.Client.DeveelDbConnection.BeginServerTransaction |
( |
IsolationLevel |
isolationLevel | ) |
|
|
inlineprivate |
Definition at line 211 of file DeveelDbConnection.cs.
215 }
catch (Exception ex) {
216 throw new DeveelDbException(
"Could not begin a transaction.", ex);
int BeginTransaction(System.Data.IsolationLevel isolationLevel)
Definition at line 50 of file DeveelDbConnection.cs.
52 throw new DeveelDbException(
"A transaction is already open on this connection.");
58 throw new NotSupportedException(
String.Format(
"Isolation Level '{0}' is not supported yet.", isolationLevel));
61 return new DeveelDbTransaction(
this, isolationLevel, commitId);
A long string in the system.
int BeginServerTransaction(IsolationLevel isolationLevel)
DeveelDbTransaction Transaction
override void Deveel.Data.Client.DeveelDbConnection.ChangeDatabase |
( |
string |
databaseName | ) |
|
|
inline |
void Deveel.Data.Client.DeveelDbConnection.ChangeState |
( |
ConnectionState |
newState | ) |
|
|
inlinepackage |
override void Deveel.Data.Client.DeveelDbConnection.Close |
( |
| ) |
|
|
inline |
Definition at line 68 of file DeveelDbConnection.cs.
71 if (
State == ConnectionState.Closed)
90 }
catch (Exception ex) {
91 throw new DeveelDbException(
"An error occurred while closing the connection.", ex);
Dictionary< string, DeveelDbDataReader > openReaders
void ChangeState(ConnectionState newState)
override ConnectionState State
DeveelDbTransaction Transaction
void Deveel.Data.Client.DeveelDbConnection.CommitTransaction |
( |
int |
commitId | ) |
|
|
inlinepackage |
Definition at line 221 of file DeveelDbConnection.cs.
225 }
catch (Exception ex) {
226 throw new DeveelDbException(
String.Format(
"Could not COMMIT transaction '{0}' on the server.", commitId), ex);
A long string in the system.
void CommitTransaction(int transactionId)
new DeveelDbCommand Deveel.Data.Client.DeveelDbConnection.CreateCommand |
( |
| ) |
|
|
inline |
override DbCommand Deveel.Data.Client.DeveelDbConnection.CreateDbCommand |
( |
| ) |
|
|
inlineprotected |
override void Deveel.Data.Client.DeveelDbConnection.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotected |
void Deveel.Data.Client.DeveelDbConnection.DisposeResult |
( |
int |
resultId | ) |
|
|
inlinepackage |
Definition at line 257 of file DeveelDbConnection.cs.
260 }
catch (Exception ex) {
261 throw new DeveelDbException(
String.Format(
"The remote result '{0}' could not be disposed.", resultId), ex);
A long string in the system.
void DisposeResult(int resultId)
void Deveel.Data.Client.DeveelDbConnection.EndState |
( |
| ) |
|
|
inlinepackage |
Definition at line 241 of file DeveelDbConnection.cs.
244 }
catch (Exception ex) {
245 throw new DeveelDbException(
"An error occurred while executing a query.", ex);
IQueryResponse[] ExecuteQuery(int commitId, SqlQuery query)
override void Deveel.Data.Client.DeveelDbConnection.Open |
( |
| ) |
|
|
inline |
Definition at line 102 of file DeveelDbConnection.cs.
104 if (
State == ConnectionState.Open)
107 if (
State != ConnectionState.Closed)
117 }
catch (Exception) {
void ChangeState(ConnectionState newState)
override ConnectionState State
QueryResultPart Deveel.Data.Client.DeveelDbConnection.RequestResultPart |
( |
int |
resultId, |
|
|
int |
rowIndex, |
|
|
int |
rowCount |
|
) |
| |
|
inlinepackage |
Definition at line 249 of file DeveelDbConnection.cs.
252 }
catch (Exception ex) {
253 throw new DeveelDbException(
String.Format(
"Could not retrieve part of the result '{0}' from the server.", resultId), ex);
A long string in the system.
QueryResultPart GetResultPart(int resultId, int rowIndex, int count)
void Deveel.Data.Client.DeveelDbConnection.RollbackTransaction |
( |
int |
commitId | ) |
|
|
inlinepackage |
Definition at line 231 of file DeveelDbConnection.cs.
235 }
catch (Exception ex) {
236 throw new DeveelDbException(
String.Format(
"Could not ROLLBACK transaction '{0}' on the server.", commitId), ex);
A long string in the system.
void RollbackTransaction(int transactionId)
string Deveel.Data.Client.DeveelDbConnection.dataSource |
|
private |
ConnectionState Deveel.Data.Client.DeveelDbConnection.oldState |
|
private |
string Deveel.Data.Client.DeveelDbConnection.serverVersion |
|
private |
ConnectionState Deveel.Data.Client.DeveelDbConnection.state |
|
private |
readonly object Deveel.Data.Client.DeveelDbConnection.stateLock = new object() |
|
private |
override string Deveel.Data.Client.DeveelDbConnection.ConnectionString |
|
getset |
override int Deveel.Data.Client.DeveelDbConnection.ConnectionTimeout |
|
get |
override string Deveel.Data.Client.DeveelDbConnection.Database |
|
get |
override string Deveel.Data.Client.DeveelDbConnection.DataSource |
|
get |
override string Deveel.Data.Client.DeveelDbConnection.ServerVersion |
|
get |
override ConnectionState Deveel.Data.Client.DeveelDbConnection.State |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Client/DeveelDbConnection.cs