Class SessionState
Enumeration used to identify whether a session is currenty live and having data recorded to it or historical where data is loaded from the database.
Inheritance
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public sealed class SessionState : Enum
Fields
Count
The count
Declaration
public const SessionState Count
Field Value
Type | Description |
---|---|
SessionState |
Created
The session has been indexed and exists within the database. However, it is not available yet to be loaded either live or historical. This is a temporary state and should not be used to find and load sessions.
Declaration
public const SessionState Created
Field Value
Type | Description |
---|---|
SessionState |
Exporting
The (sqlite) session is being exported
Declaration
public const SessionState Exporting
Field Value
Type | Description |
---|---|
SessionState |
Historical
Session is historical.
Declaration
public const SessionState Historical
Field Value
Type | Description |
---|---|
SessionState |
Indexed
The session has been added to the database waiting to be indexed
Declaration
public const SessionState Indexed
Field Value
Type | Description |
---|---|
SessionState |
Live
Indicates a Session which is live and available within SQL Race server.
Declaration
public const SessionState Live
Field Value
Type | Description |
---|---|
SessionState |
LiveNotInServer
Indicates a Session which is live, but not available within SQL Race server.
Declaration
public const SessionState LiveNotInServer
Field Value
Type | Description |
---|---|
SessionState |
Remarks
This session should not be loaded until it's state has changed to historic. This is due to the data in the database not being up to date until the recording has ended and all data has been flushed
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |