DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Provides some convenience extension methods to ITransaction instances. More...
Static Public Member Functions | |
static void | CreateSystem (this ITransaction transaction) |
static TableManager | GetTableManager (this ITransaction transaction) |
static TriggerManager | GetTriggerManager (this ITransaction transaction) |
static IDbObject | FindObject (this ITransaction transaction, ObjectName objName) |
static IDbObject | GetObject (this ITransaction transaction, DbObjectType objType, ObjectName objName) |
static bool | ObjectExists (this ITransaction transaction, ObjectName objName) |
static bool | ObjectExists (this ITransaction transaction, DbObjectType objType, ObjectName objName) |
static bool | RealObjectExists (this ITransaction transaction, DbObjectType objType, ObjectName objName) |
static void | CreateObject (this ITransaction transaction, IObjectInfo objInfo) |
static bool | AlterObject (this ITransaction transaction, IObjectInfo objInfo) |
static bool | DropObject (this ITransaction transaction, DbObjectType objType, ObjectName objName) |
static ObjectName | ResolveObjectName (this ITransaction transaction, string schemaName, string objectName) |
static ObjectName | ResolveObjectName (this ITransaction transaction, string objectName) |
static ObjectName | ResolveObjectName (this ITransaction transaction, DbObjectType objectType, ObjectName objectName) |
static ObjectName | ResolveObjectName (this ITransaction transaction, ObjectName objectName) |
static void | CreateSchema (this ITransaction transaction, SchemaInfo schemaInfo) |
static void | CreateSystemSchema (this ITransaction transaction) |
static ObjectName | ResolveTableName (this ITransaction transaction, ObjectName tableName) |
static bool | TableExists (this ITransaction transaction, ObjectName tableName) |
static bool | RealTableExists (this ITransaction transaction, ObjectName objName) |
static ITable | GetTable (this ITransaction transaction, ObjectName tableName) |
Tries to get an object with the given name formed as table. More... | |
static IMutableTable | GetMutableTable (this ITransaction transaction, ObjectName tableName) |
static TableInfo | GetTableInfo (this ITransaction transaction, ObjectName tableName) |
static string | GetTableType (this ITransaction transaction, ObjectName tableName) |
static void | CreateTable (this ITransaction transaction, TableInfo tableInfo) |
static void | CreateTable (this ITransaction transaction, TableInfo tableInfo, bool temporary) |
static void | AlterTable (this ITransaction transaction, TableInfo tableInfo) |
Alters the table with the given name within this transaction to the specified table definition. More... | |
static bool | DropTable (this ITransaction transaction, ObjectName tableName) |
static SqlNumber | SetTableId (this ITransaction transaction, ObjectName tableName, SqlNumber value) |
Sets the current value of a table native sequence. More... | |
static SqlNumber | NextTableId (this ITransaction transaction, ObjectName tableName) |
Gets the next value of a table native sequence. More... | |
static string | CurrentSchema (this ITransaction transaction) |
static void | CurrentSchema (this ITransaction transaction, string value) |
static bool | IgnoreIdentifiersCase (this ITransaction transaction) |
static void | IgnoreIdentifiersCase (this ITransaction transaction, bool value) |
static bool | AutoCommit (this ITransaction transaction) |
static void | AutoCommit (this ITransaction transaction, bool value) |
static QueryParameterStyle | ParameterStyle (this ITransaction transaction) |
static void | ParameterStyle (this ITransaction transaction, QueryParameterStyle value) |
static bool | ReadOnly (this ITransaction transaction) |
static void | ReadOnly (this ITransaction transaction, bool value) |
static bool | ErrorOnDirtySelect (this ITransaction transaction) |
static void | ErrorOnDirtySelect (this ITransaction transaction, bool value) |
static void | CreateSequence (this ITransaction transaction, SequenceInfo sequenceInfo) |
static void | CreateNativeSequence (this ITransaction transaction, ObjectName tableName) |
static void | RemoveNativeSequence (this ITransaction transaction, ObjectName tableName) |
static bool | DropSequence (this ITransaction transaction, ObjectName sequenceName) |
static LockHandle | LockTables (this ITransaction transaction, IEnumerable< ObjectName > tableNames, AccessType accessType, LockingMode mode) |
static bool | IsTableLocked (this ITransaction transaction, ITable table) |
Static Package Functions | |
static IObjectManager | GetObjectManager (this ITransaction transaction, DbObjectType objectType) |
static IEnumerable< ITableSource > | GetVisibleTables (this ITransaction transaction) |
static void | RemoveVisibleTable (this ITransaction transaction, TableSource table) |
static void | UpdateVisibleTable (this ITransaction transaction, TableSource tableSource, IIndexSet indexSet) |
static IIndexSet | GetIndexSetForTable (this ITransaction transaction, TableSource tableSource) |
Static Private Member Functions | |
static void | AssertNotReadOnly (this ITransaction transaction) |
static IEnumerable< IObjectManager > | GetObjectManagers (this ITransaction transaction) |
static ObjectName | ResolveReservedTableName (ObjectName tableName) |
Provides some convenience extension methods to ITransaction instances.
Definition at line 39 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 125 of file TransactionExtensions.cs.
|
inlinestatic |
Alters the table with the given name within this transaction to the specified table definition.
transaction | |
tableInfo |
This should only be called under an exclusive lock on the connection.
StatementException | If the table does not exist. |
Definition at line 346 of file TransactionExtensions.cs.
|
inlinestaticprivate |
Definition at line 40 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 417 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 421 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 457 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 109 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 203 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 453 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 47 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 208 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 321 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 325 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 401 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 405 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 139 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 465 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 350 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 441 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 445 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 74 of file TransactionExtensions.cs.
|
inlinestaticpackage |
Definition at line 297 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 301 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 80 of file TransactionExtensions.cs.
|
inlinestaticpackage |
Definition at line 66 of file TransactionExtensions.cs.
|
inlinestaticprivate |
Definition at line 70 of file TransactionExtensions.cs.
|
inlinestatic |
Tries to get an object with the given name formed as table.
transaction | The transaction object. |
tableName | The name of the table to try to get. |
not null
. Definition at line 271 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 305 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 54 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 313 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 58 of file TransactionExtensions.cs.
|
inlinestaticpackage |
Definition at line 285 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 409 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 413 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 478 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 473 of file TransactionExtensions.cs.
|
inlinestatic |
Gets the next value of a table native sequence.
transaction | |
tableName |
Definition at line 387 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 88 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 93 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 425 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 429 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 433 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 437 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 101 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 257 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 461 of file TransactionExtensions.cs.
|
inlinestaticpackage |
Definition at line 289 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 147 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 179 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 183 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 191 of file TransactionExtensions.cs.
|
inlinestaticprivate |
Definition at line 223 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 235 of file TransactionExtensions.cs.
|
inlinestatic |
Sets the current value of a table native sequence.
transaction | |
tableName | The table name. |
value | The current value of the native sequence. |
ObjectNotFoundException | If it was not possible to find any table having the given tableName name. |
Definition at line 369 of file TransactionExtensions.cs.
|
inlinestatic |
Definition at line 253 of file TransactionExtensions.cs.
|
inlinestaticpackage |
Definition at line 293 of file TransactionExtensions.cs.