Class SqlConnectionHolder
Inheritance
System.Object
SqlConnectionHolder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Objects
Assembly: AsaLib.dll
Syntax
public class SqlConnectionHolder
Constructors
| Improve this Doc View SourceSqlConnectionHolder(String, DBSettings)
Declaration
public SqlConnectionHolder(string databaseFilename, DBSettings dBSettings = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | databaseFilename | |
DBSettings | dBSettings |
Properties
| Improve this Doc View SourceConnection
Declaration
public SqliteConnection Connection { get; set; }
Property Value
Type | Description |
---|---|
SqliteConnection |
IsWriting
Declaration
public bool IsWriting { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeepRunning
Declaration
public bool KeepRunning { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Source
Declaration
public string Source { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Transaction
Declaration
public SqliteTransaction? Transaction { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<SqliteTransaction> |
WriteQueue
Declaration
public ConcurrentStack<WriteObject> WriteQueue { get; }
Property Value
Type | Description |
---|---|
System.Collections.Concurrent.ConcurrentStack<WriteObject> |
Methods
| Improve this Doc View SourceBeginTransaction()
Declaration
public void BeginTransaction()
Commit()
Declaration
public void Commit()
Destroy()
Declaration
public void Destroy()
KeepFlushQueue()
Declaration
public void KeepFlushQueue()