SqliteTestStore SqliteTestStore Class

Definition

public class SqliteTestStore : RelationalTestStore, IDisposable
Public Class SqliteTestStore
    Inherits RelationalTestStore
    Implements IDisposable
Inheritance
System.ObjectSystem.Object
SqliteTestStoreSqliteTestStore
Implements
System.IDisposableSystem.IDisposable

Fields

CommandTimeout CommandTimeout

public const int CommandTimeout = 30
Public Const CommandTimeout As Integer = 30

Properties

Connection Connection

public override DbConnection Connection { get; }
Public Overrides ReadOnly Property Connection As DbConnection
Value
DbConnection DbConnection
Overrides

ConnectionString ConnectionString

public override string ConnectionString { get; }
Public Overrides ReadOnly Property ConnectionString As String
Value
System.String System.String
Overrides

Transaction Transaction

public override DbTransaction Transaction { get; }
Public Overrides ReadOnly Property Transaction As DbTransaction
Value
DbTransaction DbTransaction
Overrides

Methods

CreateConnectionString(String, Boolean) CreateConnectionString(String, Boolean)

public static string CreateConnectionString(string name, bool sharedCache = false)
Public Shared Function CreateConnectionString(name As String, sharedCache As Boolean = False) As String
Parameters
name
System.String System.String
sharedCache
System.Boolean System.Boolean
Returns
System.String System.String

CreateScratch(Boolean) CreateScratch(Boolean)

public static SqliteTestStore CreateScratch(bool sharedCache = false)
Public Shared Function CreateScratch(sharedCache As Boolean = False) As SqliteTestStore
Parameters
sharedCache
System.Boolean System.Boolean
Returns

CreateShared(String, Action) CreateShared(String, Action)

Inherited from TestStore

Dispose() Dispose()

public override void Dispose()
Public Overrides Sub Dispose
Overrides

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

ExecuteNonQuery(String, Object[]) ExecuteNonQuery(String, Object())

public int ExecuteNonQuery(string sql, params object[] parameters)
Public Function ExecuteNonQuery(sql As String, ParamArray parameters As Object()) As Integer
Parameters
sql
System.String System.String
parameters
System.Object[] System.Object()
Returns
System.Int32 System.Int32

GetHashCode() GetHashCode()

Inherited from System.Object

GetOrCreateShared(String, Action) GetOrCreateShared(String, Action)

public static SqliteTestStore GetOrCreateShared(string name, Action initializeDatabase = null)
Public Shared Function GetOrCreateShared(name As String, initializeDatabase As Action = Nothing) As SqliteTestStore
Parameters
name
System.String System.String
initializeDatabase
System.Action System.Action
Returns

GetOrCreateShared(String, Boolean, Boolean, Action) GetOrCreateShared(String, Boolean, Boolean, Action)

public static SqliteTestStore GetOrCreateShared(string name, bool useTransaction, bool sharedCache, Action initializeDatabase = null)
Public Shared Function GetOrCreateShared(name As String, useTransaction As Boolean, sharedCache As Boolean, initializeDatabase As Action = Nothing) As SqliteTestStore
Parameters
name
System.String System.String
useTransaction
System.Boolean System.Boolean
sharedCache
System.Boolean System.Boolean
initializeDatabase
System.Action System.Action
Returns

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OpenConnection() OpenConnection()

public override void OpenConnection()
Public Overrides Sub OpenConnection
Overrides

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object