NorthwindQueryFixtureBase NorthwindQueryFixtureBase Class

Syntax

Declaration

public abstract class NorthwindQueryFixtureBasePublic MustInherit Class NorthwindQueryFixtureBase

Inheritance Hierarchy

  • System.Object
    System.Object
  • NorthwindQueryFixtureBase
    NorthwindQueryFixtureBase

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()

Methods summary

Methods

  • BuildOptions(IServiceCollection)
    BuildOptions(IServiceCollection)
    public abstract DbContextOptions BuildOptions(IServiceCollection additionalServices = null)Public MustOverride Function BuildOptions(additionalServices As IServiceCollection = Nothing) As DbContextOptions

    Parameters

    • additionalServices
      IServiceCollection
      IServiceCollection

    Returns

  • CreateContext(QueryTrackingBehavior)
    CreateContext(QueryTrackingBehavior)
    public abstract NorthwindContext CreateContext(QueryTrackingBehavior queryTrackingBehavior = QueryTrackingBehavior.TrackAll)Public MustOverride Function CreateContext(queryTrackingBehavior As QueryTrackingBehavior = QueryTrackingBehavior.TrackAll) As NorthwindContext

    Parameters

    Returns

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

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll