TransactionFixtureBase<TTestStore> TransactionFixtureBase(Of TTestStore) Class

Definition

public abstract class TransactionFixtureBase<TTestStore>
    where TTestStore : TestStore
Public MustInherit Class TransactionFixtureBase(Of TTestStore As TestStore)
Type Parameters
TTestStore
Inheritance
System.ObjectSystem.Object
TransactionFixtureBase<TTestStore>TransactionFixtureBase(Of TTestStore)

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Fields

Customers Customers

public readonly IReadOnlyList<TransactionCustomer> Customers
Public ReadOnly Customers As IReadOnlyList(Of TransactionCustomer)

Properties

DatabaseName DatabaseName

protected virtual string DatabaseName { get; }
Protected Overridable ReadOnly Property DatabaseName As String
Value
System.String System.String

Methods

CreateContext(TTestStore) CreateContext(TTestStore)

public abstract DbContext CreateContext(TTestStore testStore)
Public MustOverride Function CreateContext(testStore As TTestStore) As DbContext
Parameters
testStore
TTestStore TTestStore
Returns

CreateContext(DbConnection) CreateContext(DbConnection)

public abstract DbContext CreateContext(DbConnection connection)
Public MustOverride Function CreateContext(connection As DbConnection) As DbContext
Parameters
connection
System.Data.Common.DbConnection System.Data.Common.DbConnection
Returns

CreateTestStore() CreateTestStore()

public abstract TTestStore CreateTestStore()
Public MustOverride Function CreateTestStore As TTestStore
Returns
TTestStore TTestStore

OnModelCreating(ModelBuilder) OnModelCreating(ModelBuilder)

public virtual void OnModelCreating(ModelBuilder modelBuilder)
Public Overridable Sub OnModelCreating(modelBuilder As ModelBuilder)
Parameters
modelBuilder
ModelBuilder ModelBuilder