WarningsTestBase<TFixture> WarningsTestBase(Of TFixture) Class

Syntax

Declaration

public abstract class WarningsTestBase<TFixture> : IClassFixture<TFixture> where TFixture : NorthwindQueryRelationalFixture, new ()Public MustInherit Class WarningsTestBase(Of TFixture As {NorthwindQueryRelationalFixture, New})
    Inherits IClassFixture(Of TFixture)

Type Parameters

TFixture

Inheritance Hierarchy

  • System.Object
    System.Object
  • WarningsTestBase<TFixture>
    WarningsTestBase(Of TFixture)

Constructors summary

Properties summary

Methods summary

Constructors

  • WarningsTestBase(TFixture)
    WarningsTestBase(TFixture)
    protected WarningsTestBase(TFixture fixture)Protected Sub New(fixture As TFixture)

    Parameters

    • fixture
      TFixture
      TFixture

Properties

  • Fixture
    Fixture
    protected TFixture Fixture { get; }Protected ReadOnly Property Fixture As TFixture

    Property Value

    • TFixture
      TFixture

Methods

  • CreateContext()
    CreateContext()
    protected NorthwindContext CreateContext()Protected Function CreateContext As NorthwindContext

    Returns

  • Does_not_throw_for_top_level_single()
    Does_not_throw_for_top_level_single()
    public virtual void Does_not_throw_for_top_level_single()Public Overridable Sub Does_not_throw_for_top_level_single
  • Throws_when_warning_as_error()
    Throws_when_warning_as_error()
    public virtual void Throws_when_warning_as_error()Public Overridable Sub Throws_when_warning_as_error

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Specification.Tests.dll