NorthwindQueryFixtureBase NorthwindQueryFixtureBase Class

Definition

public abstract class NorthwindQueryFixtureBase
Public MustInherit Class NorthwindQueryFixtureBase
Inheritance
System.ObjectSystem.Object
NorthwindQueryFixtureBaseNorthwindQueryFixtureBase

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

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OnModelCreating(ModelBuilder) OnModelCreating(ModelBuilder)

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

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object