C# Class Deveel.Data.SessionExtensions

Show file Open project: deveel/deveeldb

Public Methods

Method Description
AsEventSource ( this session ) : IEventSource
AutoCommit ( this session ) : bool
AutoCommit ( this session, bool value ) : void
Begin ( this session, IsolationLevel isolation ) : ISession
CurrentSchema ( this session ) : string
CurrentSchema ( this session, string value ) : void
Database ( this session ) : IDatabase
Enter ( this session, IDbObject obj, AccessType accessType ) : void
Enter ( this session, IEnumerable objects, AccessType accessType ) : void
Exit ( this session, IDbObject obj, AccessType accessType ) : void
Exit ( this session, IEnumerable objects, AccessType accessType ) : void
IgnoreIdentifiersCase ( this session ) : bool
IgnoreIdentifiersCase ( this session, bool value ) : void
IsFinished ( this session ) : bool
LastCommandTime ( this session ) : DateTimeOffset?
Lock ( this session, IEnumerable objectNames, AccessType accessType, LockingMode mode, int timeout ) : void
ParameterStyle ( this session ) : QueryParameterStyle
ParameterStyle ( this session, QueryParameterStyle value ) : void
StartedOn ( this session ) : DateTimeOffset?
TimeZoneOffset ( this session ) : System.TimeSpan

Private Methods

Method Description
Access ( this session ) : SystemAccess

Method Details

AsEventSource() public static method

public static AsEventSource ( this session ) : IEventSource
session this
return IEventSource

AutoCommit() public static method

public static AutoCommit ( this session ) : bool
session this
return bool

AutoCommit() public static method

public static AutoCommit ( this session, bool value ) : void
session this
value bool
return void

Begin() public static method

public static Begin ( this session, IsolationLevel isolation ) : ISession
session this
isolation IsolationLevel
return ISession

CurrentSchema() public static method

public static CurrentSchema ( this session ) : string
session this
return string

CurrentSchema() public static method

public static CurrentSchema ( this session, string value ) : void
session this
value string
return void

Database() public static method

public static Database ( this session ) : IDatabase
session this
return IDatabase

Enter() public static method

public static Enter ( this session, IDbObject obj, AccessType accessType ) : void
session this
obj IDbObject
accessType AccessType
return void

Enter() public static method

public static Enter ( this session, IEnumerable objects, AccessType accessType ) : void
session this
objects IEnumerable
accessType AccessType
return void

Exit() public static method

public static Exit ( this session, IDbObject obj, AccessType accessType ) : void
session this
obj IDbObject
accessType AccessType
return void

Exit() public static method

public static Exit ( this session, IEnumerable objects, AccessType accessType ) : void
session this
objects IEnumerable
accessType AccessType
return void

IgnoreIdentifiersCase() public static method

public static IgnoreIdentifiersCase ( this session ) : bool
session this
return bool

IgnoreIdentifiersCase() public static method

public static IgnoreIdentifiersCase ( this session, bool value ) : void
session this
value bool
return void

IsFinished() public static method

public static IsFinished ( this session ) : bool
session this
return bool

LastCommandTime() public static method

public static LastCommandTime ( this session ) : DateTimeOffset?
session this
return DateTimeOffset?

Lock() public static method

public static Lock ( this session, IEnumerable objectNames, AccessType accessType, LockingMode mode, int timeout ) : void
session this
objectNames IEnumerable
accessType AccessType
mode LockingMode
timeout int
return void

ParameterStyle() public static method

public static ParameterStyle ( this session ) : QueryParameterStyle
session this
return QueryParameterStyle

ParameterStyle() public static method

public static ParameterStyle ( this session, QueryParameterStyle value ) : void
session this
value QueryParameterStyle
return void

StartedOn() public static method

public static StartedOn ( this session ) : DateTimeOffset?
session this
return DateTimeOffset?

TimeZoneOffset() public static method

public static TimeZoneOffset ( this session ) : System.TimeSpan
session this
return System.TimeSpan