Definition at line 24 of file SystemTableContainer.cs.
Definition at line 25 of file SystemTableContainer.cs.
The system implementation of a transaction model that handles isolated operations within a database c...
bool Deveel.Data.SystemTableContainer.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 87 of file SystemTableContainer.cs.
override bool Equals(object obj)
int FindByName(ObjectName name)
Finds the index in this container of the given table by its name.
int Deveel.Data.SystemTableContainer.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 38 of file SystemTableContainer.cs.
43 var rowE = table.GetEnumerator();
45 while (rowE.MoveNext()) {
46 int rowIndex = rowE.Current.RowId.RowNumber;
47 var obName = table.GetValue(rowIndex, 1);
48 if (obName.Value.ToString().Equals(name.
Name)) {
49 var obSchema = table.GetValue(rowIndex, 0);
50 if (obSchema.Value.ToString().Equals(name.
ParentName)) {
The system implementation of a transaction model that handles isolated operations within a database c...
string Name
Gets the name of the object being referenced.
abstract ITable Deveel.Data.SystemTableContainer.GetTable |
( |
int |
offset | ) |
|
|
pure virtual |
abstract TableInfo Deveel.Data.SystemTableContainer.GetTableInfo |
( |
int |
offset | ) |
|
|
pure virtual |
ObjectName Deveel.Data.SystemTableContainer.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 62 of file SystemTableContainer.cs.
67 var rowE = table.GetEnumerator();
69 while (rowE.MoveNext()) {
70 int rowIndex = rowE.Current.RowId.RowNumber;
72 var obSchema = table.GetValue(rowIndex, 0);
73 var obName = table.GetValue(rowIndex, 1);
80 throw new Exception(
"Out of bounds.");
override string ToString()
The system implementation of a transaction model that handles isolated operations within a database c...
Describes the name of an object within a database.
abstract string Deveel.Data.SystemTableContainer.GetTableType |
( |
int |
offset | ) |
|
|
pure virtual |
int Deveel.Data.SystemTableContainer.TableCount |
|
get |
ObjectName Deveel.Data.SystemTableContainer.TableName |
|
getprivate set |
The documentation for this class was generated from the following file: