SqliteTestStore SqliteTestStore Class

Syntax

Declaration

public class SqliteTestStore : RelationalTestStore, IDisposablePublic Class SqliteTestStore
    Inherits RelationalTestStore
    Implements IDisposable

Inheritance Hierarchy

Inherited Members

CreateShared(String, Action),
CreateShared(String, Action),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Fields summary

Properties summary

Methods summary

Fields

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

Properties

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

    Property Value

    • DbConnection
      DbConnection
  • ConnectionString
    ConnectionString
    public override string ConnectionString { get; }Public Overrides ReadOnly Property ConnectionString As String

    Property Value

    • System.String
      System.String
  • Transaction
    Transaction
    public override DbTransaction Transaction { get; }Public Overrides ReadOnly Property Transaction As DbTransaction

    Property Value

    • DbTransaction
      DbTransaction

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

  • Dispose()
    Dispose()
    public override void Dispose()Public Overrides Sub Dispose
  • 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
  • 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

  • OpenConnection()
    OpenConnection()
    public override void OpenConnection()Public Overrides Sub OpenConnection

Details

Assembly

Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.dll