Class SystemUserConnection
Implements
System.IDisposable
System.Runtime.Serialization.ISerializable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core
Assembly: Terrasoft.Core.dll
Syntax
public class SystemUserConnection : UserConnection, IUserConnection, IDisposable, ISerializable
Constructors
SystemUserConnection(SerializationInfo, StreamingContext)
Declaration
protected SystemUserConnection(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context |
SystemUserConnection(AppConnection)
Declaration
public SystemUserConnection(AppConnection appConnection)
Parameters
| Type | Name | Description |
|---|---|---|
| AppConnection | appConnection |
Properties
ApplicationCache
Declaration
public override ICacheStore ApplicationCache { get; }
Property Value
| Type | Description |
|---|---|
| ICacheStore |
Overrides
Current
Current instance of the SystemUserConnection.
Declaration
public static SystemUserConnection Current { get; set; }
Property Value
| Type | Description |
|---|---|
| SystemUserConnection |
CurrentUser
Declaration
public override SysUserInfo CurrentUser { get; }
Property Value
| Type | Description |
|---|---|
| SysUserInfo |
Overrides
RequestData
Declaration
public override IDataStore RequestData { get; }
Property Value
| Type | Description |
|---|---|
| IDataStore |
Overrides
SessionCache
Declaration
public override ICacheStore SessionCache { get; }
Property Value
| Type | Description |
|---|---|
| ICacheStore |
Overrides
SessionData
Declaration
public override IDataStore SessionData { get; }
Property Value
| Type | Description |
|---|---|
| IDataStore |
Overrides
WorkspaceCache
Declaration
public override ICacheStore WorkspaceCache { get; }
Property Value
| Type | Description |
|---|---|
| ICacheStore |
Overrides
Methods
EnsureDBConnection(QueryKind)
Returns session-wide DBExecutor for the given QueryKind
Declaration
public override DBExecutor EnsureDBConnection(QueryKind queryKind)
Parameters
| Type | Name | Description |
|---|---|---|
| QueryKind | queryKind | QueryKind for which the DBExecutor is ensured. |
Returns
| Type | Description |
|---|---|
| DBExecutor | Session-wide DBExecutor |
Overrides
InitializeCurrentUser(String, TimeZoneInfo, String, String, Boolean)
Declaration
protected override void InitializeCurrentUser(string userName, TimeZoneInfo timeZone, string clientIP, string agent, bool needRegisterSessionStart = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | userName | |
| System.TimeZoneInfo | timeZone | |
| System.String | clientIP | |
| System.String | agent | |
| System.Boolean | needRegisterSessionStart |
Overrides
Remarks
Do not take into account system user’s access level on login.
ResetCurrent()
Declaration
protected override void ResetCurrent()
Overrides
Implements
System.IDisposable
System.Runtime.Serialization.ISerializable