Definition at line 345 of file Transaction.cs.
Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.OldAndNewTableContainer |
( |
Transaction |
transaction | ) |
|
|
inline |
bool Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.ContainsTable |
( |
ObjectName |
name | ) |
|
|
inline |
Checks if a table with the given name is contained in the current context.
- Parameters
-
name | The name of the table to search. |
- Returns
- Returns
true
if any table with the given name was found in the container, false
otherwise.
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 398 of file Transaction.cs.
int FindByName(ObjectName name)
Finds the index in this container of the given table by its name.
int Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.FindByName |
( |
ObjectName |
name | ) |
|
|
inline |
Finds the index in this container of the given table by its name.
- Parameters
-
name | The name of the table to find. |
- Returns
- Returns a zero-based index that represents the offset of the table identified by the given name within the context, ot
-1
of not found.
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 372 of file Transaction.cs.
374 name.
Equals(SystemSchema.OldTriggerTableName,
transaction.IgnoreIdentifiersCase()))
377 name.
Equals(SystemSchema.NewTriggerTableName,
transaction.IgnoreIdentifiersCase()))
override bool Equals(object obj)
readonly Transaction transaction
ITable Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.GetTable |
( |
int |
offset | ) |
|
|
inline |
Gets the table contained at the given offset within the context.
- Parameters
-
offset | The zero-based offset of the table to return. |
- Returns
- Returns an instance of ITable that provides access to the backed informaion for an object provided by the context.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 402 of file Transaction.cs.
411 var oldRow =
new Row(table);
413 for (
int i = 0; i < tableInfo.ColumnCount; ++i) {
414 oldRow.SetValue(i, dtable.GetValue(rowIndex, i));
418 table.SetReadOnly(
true);
419 table.SetData(oldRow);
A single row in a table of a database.
readonly Transaction transaction
TableInfo GetTableInfo(int offset)
Gets the information of the table at the given offset in this container.
IDatabaseContext DatabaseContext
OldNewTableState TableState
TableInfo Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.GetTableInfo |
( |
int |
offset | ) |
|
|
inline |
Gets the information of the table at the given offset in this container.
- Parameters
-
offset | The zero-based offset of the table whose information to return. |
- Returns
- Returns an instance of
- See also
- TableInfo
that describes the metadata of a table at the given offset within the context.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 389 of file Transaction.cs.
ObjectName GetTableName(int offset)
Gets the name of the table at the given index in this container.
readonly Transaction transaction
OldNewTableState TableState
ObjectName Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.GetTableName |
( |
int |
offset | ) |
|
|
inline |
Gets the name of the table at the given index in this container.
- Parameters
-
offset | The zero-based offset of the table whose name to return. |
- Returns
- Returns a
- See also
- ObjectName
that identifies the table.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 382 of file Transaction.cs.
384 return SystemSchema.OldTriggerTableName;
386 return SystemSchema.NewTriggerTableName;
string Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.GetTableType |
( |
int |
offset | ) |
|
|
inline |
Gets the type of the table at the given offset.
- Parameters
-
offset | The zero-based offset of the table whose type to return. |
- Returns
- Returns a String that describes the type of table at the given offset.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 394 of file Transaction.cs.
395 return TableTypes.SystemTable;
readonly Transaction Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.transaction |
|
private |
bool Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.HasNewTable |
|
getprivate |
bool Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.HasOldTable |
|
getprivate |
int Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.TableCount |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Transactions/Transaction.cs