MonsterFixupSqlServerTest MonsterFixupSqlServerTest Class

Definition

public class MonsterFixupSqlServerTest : MonsterFixupTestBase, IDisposable
Public Class MonsterFixupSqlServerTest
    Inherits MonsterFixupTestBase
    Implements IDisposable
Inheritance
System.ObjectSystem.Object
MonsterFixupSqlServerTestMonsterFixupSqlServerTest
Implements
System.IDisposableSystem.IDisposable

Inherited Members

Microsoft.EntityFrameworkCore.Specification.Tests.MonsterFixupTestBase

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

Methods

CreateAndSeedDatabase(String, Func, Action) CreateAndSeedDatabase(String, Func(Of MonsterContext), Action(Of MonsterContext))

protected override void CreateAndSeedDatabase(string databaseName, Func<MonsterContext> createContext, Action<MonsterContext> seed)
Protected Overrides Sub CreateAndSeedDatabase(databaseName As String, createContext As Func(Of MonsterContext), seed As Action(Of MonsterContext))
Parameters
databaseName
System.String System.String
createContext
System.Func<MonsterContext> System.Func(Of MonsterContext)
seed
System.Action<MonsterContext> System.Action(Of MonsterContext)
Overrides

CreateOptions(String) CreateOptions(String)

protected override DbContextOptions CreateOptions(string databaseName)
Protected Overrides Function CreateOptions(databaseName As String) As DbContextOptions
Parameters
databaseName
System.String System.String
Returns
Overrides

CreateServiceProvider(Boolean) CreateServiceProvider(Boolean)

protected override IServiceProvider CreateServiceProvider(bool throwingStateManager = false)
Protected Overrides Function CreateServiceProvider(throwingStateManager As Boolean = False) As IServiceProvider
Parameters
throwingStateManager
System.Boolean System.Boolean
Returns
System.IServiceProvider System.IServiceProvider
Overrides

Dispose() Dispose()

public virtual void Dispose()
Public Overridable Sub Dispose

OnModelCreating(ModelBuilder) OnModelCreating(Of TMessage, TProductPhoto, TProductReview)(ModelBuilder)

public override void OnModelCreating<TMessage, TProductPhoto, TProductReview>(ModelBuilder builder)where TMessage : class, IMessage where TProductPhoto : class, IProductPhoto where TProductReview : class, IProductReview
Public Overrides Sub OnModelCreating(Of TMessage As {Class, IMessage}, TProductPhoto As {Class, IProductPhoto}, TProductReview As {Class, IProductReview})(builder As ModelBuilder)
Type Parameters
TMessage
TProductPhoto
TProductReview
Parameters
Overrides