Class SqlConnectionHolder
Inheritance
System.Object
SqlConnectionHolder
Assembly: AsaLib.dll
Syntax
public class SqlConnectionHolder : object
Constructors
|
Improve this Doc
View Source
SqlConnectionHolder(String, DBSettings)
Declaration
public SqlConnectionHolder(string databaseFilename, DBSettings dBSettings = null)
Parameters
| Type |
Name |
Description |
| System.String |
databaseFilename |
|
| DBSettings |
dBSettings |
|
Properties
|
Improve this Doc
View Source
Connection
Declaration
public SqliteConnection Connection { get; set; }
Property Value
| Type |
Description |
| SqliteConnection |
|
|
Improve this Doc
View Source
IsWriting
Declaration
public bool IsWriting { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
KeepRunning
Declaration
public bool KeepRunning { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Source
Declaration
public string Source { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Transaction
Declaration
public SqliteTransaction? Transaction { get; set; }
Property Value
| Type |
Description |
| System.Nullable<SqliteTransaction> |
|
|
Improve this Doc
View Source
WriteQueue
Declaration
public ConcurrentStack<WriteObject> WriteQueue { get; }
Property Value
Methods
|
Improve this Doc
View Source
BeginTransaction()
Declaration
public void BeginTransaction()
|
Improve this Doc
View Source
Commit()
Declaration
|
Improve this Doc
View Source
Destroy()
Declaration
|
Improve this Doc
View Source
KeepFlushQueue()
Declaration
public void KeepFlushQueue()