TransactionFixtureBase<TTestStore> TransactionFixtureBase(Of TTestStore) Class

Syntax

Declaration

public abstract class TransactionFixtureBase<TTestStore>
    where TTestStore : TestStorePublic MustInherit Class TransactionFixtureBase(Of TTestStore As TestStore)

Type Parameters

TTestStore

Inheritance Hierarchy

  • System.Object
    System.Object
  • TransactionFixtureBase<TTestStore>
    TransactionFixtureBase(Of TTestStore)

Inherited Members

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

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

Properties

  • DatabaseName
    DatabaseName
    protected virtual string DatabaseName { get; }Protected Overridable ReadOnly Property DatabaseName As String

    Property 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

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Specification.Tests.dll