Click or drag to resize
ILogDatabase Interface
The interface to the log database.

Namespace: VirtualRadar.Interface.Database
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface ILogDatabase : ISingleton<ILogDatabase>, 
	ITransactionable, IDisposable

The ILogDatabase type exposes the following members.

Properties
  NameDescription
Public propertyProvider
Gets or sets the provider that abstracts away the environment for testing.
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEndTransaction
Ends a transaction. Ending a nested transaction has no effect.
(Inherited from ITransactionable.)
Public methodEstablishSession
Creates a new session record for the IP address passed across.
Public methodFetchAll
Fetches the entire log.
Public methodFetchSessions
Fetches all sessions that start and end within the date range passed across.
Public methodRollbackTransaction
Rolls back a transaction. Rolling back a nested transaction rolls back all transactions.
(Inherited from ITransactionable.)
Public methodStartTransaction
Begins a new transaction. Nesting transactions is allowed.
(Inherited from ITransactionable.)
Public methodUpdateClient
Writes the client back to the database.
Public methodUpdateSession
Writes the session record passed across back to the database.
Top
Remarks
The log database is an SQLite database that Virtual Radar Server maintains for itself in its configuration folder. It holds information about the connections that have been made to the web server.
See Also