C# 클래스 Deveel.Data.Transactions.TransactionExtensions

Provides some convenience extension methods to ITransaction instances.
파일 보기 프로젝트 열기: deveel/deveeldb

공개 메소드들

메소드 설명
AlterObject ( this transaction, IObjectInfo objInfo ) : bool
AsEventSource ( this transaction ) : IEventSource
AutoCommit ( this transaction ) : bool
AutoCommit ( this transaction, bool value ) : void
CreateNativeSequence ( this transaction, ObjectName tableName ) : void
CreateObject ( this transaction, IObjectInfo objInfo ) : void
CreateSchema ( this transaction, SchemaInfo schemaInfo ) : void
CreateSequence ( this transaction, SequenceInfo sequenceInfo ) : void
CreateTable ( this transaction, TableInfo tableInfo ) : void
CreateTable ( this transaction, TableInfo tableInfo, bool temporary ) : void
CurrentSchema ( this transaction ) : string
CurrentSchema ( this transaction, string value ) : void
CurrentTableId ( this transaction, ObjectName tableName ) : SqlNumber
DropObject ( this transaction, DbObjectType objType, ObjectName objName ) : bool
DropSequence ( this transaction, ObjectName sequenceName ) : bool
ErrorOnDirtySelect ( this transaction ) : bool
ErrorOnDirtySelect ( this transaction, bool value ) : void
FindObject ( this transaction, ObjectName objName ) : IDbObject
GetMutableTable ( this transaction, ObjectName tableName ) : IMutableTable
GetObject ( this transaction, DbObjectType objType, ObjectName objName ) : IDbObject
GetTable ( this transaction, ObjectName tableName ) : ITable

Tries to get an object with the given name formed as table.

GetTableInfo ( this transaction, ObjectName tableName ) : TableInfo
GetTableManager ( this transaction ) : TableManager
GetTableType ( this transaction, ObjectName tableName ) : string
GetTriggerManager ( this transaction ) : TriggerManager
IgnoreIdentifiersCase ( this transaction ) : bool
IgnoreIdentifiersCase ( this transaction, bool value ) : void
Lock ( this transaction, IEnumerable tableNames, AccessType accessType, LockingMode mode, int timeout ) : void
LockTimeout ( this transaction ) : int
NextTableId ( this transaction, ObjectName tableName ) : SqlNumber

Gets the next value of a table native sequence.

ObjectExists ( this transaction, DbObjectType objType, ObjectName objName ) : bool
ObjectExists ( this transaction, ObjectName objName ) : bool
OnObjectCreated ( this transaction, DbObjectType objectType, ObjectName objectName ) : void
OnObjectDropped ( this transaction, DbObjectType objectType, ObjectName objectName ) : void
OnTableAccessed ( this transaction, int tableId, ObjectName tableName ) : void
OnTableConstraintAltered ( this transaction, int tableId ) : void
OnTableCreated ( this transaction, int tableId, ObjectName tableName ) : void
OnTableDropped ( this transaction, int tableId, ObjectName tableName ) : void
ParameterStyle ( this transaction ) : QueryParameterStyle
ParameterStyle ( this transaction, QueryParameterStyle value ) : void
ReadOnly ( this transaction ) : bool
ReadOnly ( this transaction, bool value ) : void
RealObjectExists ( this transaction, DbObjectType objType, ObjectName objName ) : bool
RealTableExists ( this transaction, ObjectName objName ) : bool
RemoveNativeSequence ( this transaction, ObjectName tableName ) : void
ResolveObjectName ( this transaction, DbObjectType objectType, ObjectName objectName ) : ObjectName
ResolveObjectName ( this transaction, ObjectName objectName ) : ObjectName
ResolveObjectName ( this transaction, string objectName ) : ObjectName
ResolveObjectName ( this transaction, string schemaName, string objectName ) : ObjectName
ResolveTableName ( this transaction, ObjectName tableName ) : ObjectName
SetTableId ( this transaction, ObjectName tableName, SqlNumber value ) : SqlNumber

Sets the current value of a table native sequence.

TableExists ( this transaction, ObjectName tableName ) : bool

비공개 메소드들

메소드 설명
AssertNotReadOnly ( this transaction ) : void
GetIndexSetForTable ( this transaction, TableSource tableSource ) : IIndexSet
GetObjectManager ( this transaction, DbObjectType objectType ) : IObjectManager
GetObjectManagers ( this transaction ) : IEnumerable
GetVisibleTables ( this transaction ) : IEnumerable
RemoveVisibleTable ( this transaction, TableSource table ) : void
ResolveReservedTableName ( ObjectName tableName ) : ObjectName
UpdateVisibleTable ( this transaction, TableSource tableSource, IIndexSet indexSet ) : void

메소드 상세

AlterObject() 공개 정적인 메소드

public static AlterObject ( this transaction, IObjectInfo objInfo ) : bool
transaction this
objInfo IObjectInfo
리턴 bool

AsEventSource() 공개 정적인 메소드

public static AsEventSource ( this transaction ) : IEventSource
transaction this
리턴 IEventSource

AutoCommit() 공개 정적인 메소드

public static AutoCommit ( this transaction ) : bool
transaction this
리턴 bool

AutoCommit() 공개 정적인 메소드

public static AutoCommit ( this transaction, bool value ) : void
transaction this
value bool
리턴 void

CreateNativeSequence() 공개 정적인 메소드

public static CreateNativeSequence ( this transaction, ObjectName tableName ) : void
transaction this
tableName ObjectName
리턴 void

CreateObject() 공개 정적인 메소드

public static CreateObject ( this transaction, IObjectInfo objInfo ) : void
transaction this
objInfo IObjectInfo
리턴 void

CreateSchema() 공개 정적인 메소드

public static CreateSchema ( this transaction, SchemaInfo schemaInfo ) : void
transaction this
schemaInfo Deveel.Data.Sql.Schemas.SchemaInfo
리턴 void

CreateSequence() 공개 정적인 메소드

public static CreateSequence ( this transaction, SequenceInfo sequenceInfo ) : void
transaction this
sequenceInfo SequenceInfo
리턴 void

CreateTable() 공개 정적인 메소드

public static CreateTable ( this transaction, TableInfo tableInfo ) : void
transaction this
tableInfo TableInfo
리턴 void

CreateTable() 공개 정적인 메소드

public static CreateTable ( this transaction, TableInfo tableInfo, bool temporary ) : void
transaction this
tableInfo TableInfo
temporary bool
리턴 void

CurrentSchema() 공개 정적인 메소드

public static CurrentSchema ( this transaction ) : string
transaction this
리턴 string

CurrentSchema() 공개 정적인 메소드

public static CurrentSchema ( this transaction, string value ) : void
transaction this
value string
리턴 void

CurrentTableId() 공개 정적인 메소드

public static CurrentTableId ( this transaction, ObjectName tableName ) : SqlNumber
transaction this
tableName ObjectName
리턴 SqlNumber

DropObject() 공개 정적인 메소드

public static DropObject ( this transaction, DbObjectType objType, ObjectName objName ) : bool
transaction this
objType DbObjectType
objName ObjectName
리턴 bool

DropSequence() 공개 정적인 메소드

public static DropSequence ( this transaction, ObjectName sequenceName ) : bool
transaction this
sequenceName ObjectName
리턴 bool

ErrorOnDirtySelect() 공개 정적인 메소드

public static ErrorOnDirtySelect ( this transaction ) : bool
transaction this
리턴 bool

ErrorOnDirtySelect() 공개 정적인 메소드

public static ErrorOnDirtySelect ( this transaction, bool value ) : void
transaction this
value bool
리턴 void

FindObject() 공개 정적인 메소드

public static FindObject ( this transaction, ObjectName objName ) : IDbObject
transaction this
objName ObjectName
리턴 IDbObject

GetMutableTable() 공개 정적인 메소드

public static GetMutableTable ( this transaction, ObjectName tableName ) : IMutableTable
transaction this
tableName ObjectName
리턴 IMutableTable

GetObject() 공개 정적인 메소드

public static GetObject ( this transaction, DbObjectType objType, ObjectName objName ) : IDbObject
transaction this
objType DbObjectType
objName ObjectName
리턴 IDbObject

GetTable() 공개 정적인 메소드

Tries to get an object with the given name formed as table.
public static GetTable ( this transaction, ObjectName tableName ) : ITable
transaction this The transaction object.
tableName ObjectName The name of the table to try to get.
리턴 ITable

GetTableInfo() 공개 정적인 메소드

public static GetTableInfo ( this transaction, ObjectName tableName ) : TableInfo
transaction this
tableName ObjectName
리턴 TableInfo

GetTableManager() 공개 정적인 메소드

public static GetTableManager ( this transaction ) : TableManager
transaction this
리턴 TableManager

GetTableType() 공개 정적인 메소드

public static GetTableType ( this transaction, ObjectName tableName ) : string
transaction this
tableName ObjectName
리턴 string

GetTriggerManager() 공개 정적인 메소드

public static GetTriggerManager ( this transaction ) : TriggerManager
transaction this
리턴 TriggerManager

IgnoreIdentifiersCase() 공개 정적인 메소드

public static IgnoreIdentifiersCase ( this transaction ) : bool
transaction this
리턴 bool

IgnoreIdentifiersCase() 공개 정적인 메소드

public static IgnoreIdentifiersCase ( this transaction, bool value ) : void
transaction this
value bool
리턴 void

Lock() 공개 정적인 메소드

public static Lock ( this transaction, IEnumerable tableNames, AccessType accessType, LockingMode mode, int timeout ) : void
transaction this
tableNames IEnumerable
accessType AccessType
mode LockingMode
timeout int
리턴 void

LockTimeout() 공개 정적인 메소드

public static LockTimeout ( this transaction ) : int
transaction this
리턴 int

NextTableId() 공개 정적인 메소드

Gets the next value of a table native sequence.
public static NextTableId ( this transaction, ObjectName tableName ) : SqlNumber
transaction this
tableName ObjectName
리턴 SqlNumber

ObjectExists() 공개 정적인 메소드

public static ObjectExists ( this transaction, DbObjectType objType, ObjectName objName ) : bool
transaction this
objType DbObjectType
objName ObjectName
리턴 bool

ObjectExists() 공개 정적인 메소드

public static ObjectExists ( this transaction, ObjectName objName ) : bool
transaction this
objName ObjectName
리턴 bool

OnObjectCreated() 공개 정적인 메소드

public static OnObjectCreated ( this transaction, DbObjectType objectType, ObjectName objectName ) : void
transaction this
objectType DbObjectType
objectName ObjectName
리턴 void

OnObjectDropped() 공개 정적인 메소드

public static OnObjectDropped ( this transaction, DbObjectType objectType, ObjectName objectName ) : void
transaction this
objectType DbObjectType
objectName ObjectName
리턴 void

OnTableAccessed() 공개 정적인 메소드

public static OnTableAccessed ( this transaction, int tableId, ObjectName tableName ) : void
transaction this
tableId int
tableName ObjectName
리턴 void

OnTableConstraintAltered() 공개 정적인 메소드

public static OnTableConstraintAltered ( this transaction, int tableId ) : void
transaction this
tableId int
리턴 void

OnTableCreated() 공개 정적인 메소드

public static OnTableCreated ( this transaction, int tableId, ObjectName tableName ) : void
transaction this
tableId int
tableName ObjectName
리턴 void

OnTableDropped() 공개 정적인 메소드

public static OnTableDropped ( this transaction, int tableId, ObjectName tableName ) : void
transaction this
tableId int
tableName ObjectName
리턴 void

ParameterStyle() 공개 정적인 메소드

public static ParameterStyle ( this transaction ) : QueryParameterStyle
transaction this
리턴 QueryParameterStyle

ParameterStyle() 공개 정적인 메소드

public static ParameterStyle ( this transaction, QueryParameterStyle value ) : void
transaction this
value QueryParameterStyle
리턴 void

ReadOnly() 공개 정적인 메소드

public static ReadOnly ( this transaction ) : bool
transaction this
리턴 bool

ReadOnly() 공개 정적인 메소드

public static ReadOnly ( this transaction, bool value ) : void
transaction this
value bool
리턴 void

RealObjectExists() 공개 정적인 메소드

public static RealObjectExists ( this transaction, DbObjectType objType, ObjectName objName ) : bool
transaction this
objType DbObjectType
objName ObjectName
리턴 bool

RealTableExists() 공개 정적인 메소드

public static RealTableExists ( this transaction, ObjectName objName ) : bool
transaction this
objName ObjectName
리턴 bool

RemoveNativeSequence() 공개 정적인 메소드

public static RemoveNativeSequence ( this transaction, ObjectName tableName ) : void
transaction this
tableName ObjectName
리턴 void

ResolveObjectName() 공개 정적인 메소드

public static ResolveObjectName ( this transaction, DbObjectType objectType, ObjectName objectName ) : ObjectName
transaction this
objectType DbObjectType
objectName ObjectName
리턴 ObjectName

ResolveObjectName() 공개 정적인 메소드

public static ResolveObjectName ( this transaction, ObjectName objectName ) : ObjectName
transaction this
objectName ObjectName
리턴 ObjectName

ResolveObjectName() 공개 정적인 메소드

public static ResolveObjectName ( this transaction, string objectName ) : ObjectName
transaction this
objectName string
리턴 ObjectName

ResolveObjectName() 공개 정적인 메소드

public static ResolveObjectName ( this transaction, string schemaName, string objectName ) : ObjectName
transaction this
schemaName string
objectName string
리턴 ObjectName

ResolveTableName() 공개 정적인 메소드

public static ResolveTableName ( this transaction, ObjectName tableName ) : ObjectName
transaction this
tableName ObjectName
리턴 ObjectName

SetTableId() 공개 정적인 메소드

Sets the current value of a table native sequence.
/// If it was not possible to find any table having the given /// name. ///
public static SetTableId ( this transaction, ObjectName tableName, SqlNumber value ) : SqlNumber
transaction this
tableName ObjectName The table name.
value SqlNumber The current value of the native sequence.
리턴 SqlNumber

TableExists() 공개 정적인 메소드

public static TableExists ( this transaction, ObjectName tableName ) : bool
transaction this
tableName ObjectName
리턴 bool