FindTestBase<TFixture> FindTestBase(Of TFixture) Class

Syntax

Declaration

public abstract class FindTestBase<TFixture> : IClassFixture<TFixture>, IDisposable where TFixture : FindTestBase<TFixture>.FindFixtureBase, new ()Public MustInherit Class FindTestBase(Of TFixture As {FindTestBase(Of TFixture).FindFixtureBase, New})
    Inherits IClassFixture(Of TFixture)
    Implements IDisposable

Type Parameters

TFixture

Inheritance Hierarchy

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

Constructors summary

Properties summary

Methods summary

Constructors

  • FindTestBase(TFixture)
    FindTestBase(TFixture)
    protected FindTestBase(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 FindTestBase<TFixture>.FindContext CreateContext()Protected Function CreateContext As FindTestBase(Of TFixture).FindContext

    Returns

  • Dispose()
    Dispose()
    public virtual void Dispose()Public Overridable Sub Dispose
  • Find_base_type_from_store()
    Find_base_type_from_store()
    public virtual void Find_base_type_from_store()Public Overridable Sub Find_base_type_from_store
  • Find_base_type_from_store_async()
    Find_base_type_from_store_async()
    public virtual Task Find_base_type_from_store_async()Public Overridable Function Find_base_type_from_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_base_type_tracked()
    Find_base_type_tracked()
    public virtual void Find_base_type_tracked()Public Overridable Sub Find_base_type_tracked
  • Find_base_type_tracked_async()
    Find_base_type_tracked_async()
    public virtual Task Find_base_type_tracked_async()Public Overridable Function Find_base_type_tracked_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_base_type_using_derived_set_from_store()
    Find_base_type_using_derived_set_from_store()
    public virtual void Find_base_type_using_derived_set_from_store()Public Overridable Sub Find_base_type_using_derived_set_from_store
  • Find_base_type_using_derived_set_from_store_async()
    Find_base_type_using_derived_set_from_store_async()
    public virtual Task Find_base_type_using_derived_set_from_store_async()Public Overridable Function Find_base_type_using_derived_set_from_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_base_type_using_derived_set_tracked()
    Find_base_type_using_derived_set_tracked()
    public virtual void Find_base_type_using_derived_set_tracked()Public Overridable Sub Find_base_type_using_derived_set_tracked
  • Find_base_type_using_derived_set_tracked_async()
    Find_base_type_using_derived_set_tracked_async()
    public virtual Task Find_base_type_using_derived_set_tracked_async()Public Overridable Function Find_base_type_using_derived_set_tracked_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_composite_key_from_store()
    Find_composite_key_from_store()
    public virtual void Find_composite_key_from_store()Public Overridable Sub Find_composite_key_from_store
  • Find_composite_key_from_store_async()
    Find_composite_key_from_store_async()
    public virtual Task Find_composite_key_from_store_async()Public Overridable Function Find_composite_key_from_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_composite_key_tracked()
    Find_composite_key_tracked()
    public virtual void Find_composite_key_tracked()Public Overridable Sub Find_composite_key_tracked
  • Find_composite_key_tracked_async()
    Find_composite_key_tracked_async()
    public virtual Task Find_composite_key_tracked_async()Public Overridable Function Find_composite_key_tracked_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_derived_type_from_store()
    Find_derived_type_from_store()
    public virtual void Find_derived_type_from_store()Public Overridable Sub Find_derived_type_from_store
  • Find_derived_type_from_store_async()
    Find_derived_type_from_store_async()
    public virtual Task Find_derived_type_from_store_async()Public Overridable Function Find_derived_type_from_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_derived_type_tracked()
    Find_derived_type_tracked()
    public virtual void Find_derived_type_tracked()Public Overridable Sub Find_derived_type_tracked
  • Find_derived_type_tracked_async()
    Find_derived_type_tracked_async()
    public virtual Task Find_derived_type_tracked_async()Public Overridable Function Find_derived_type_tracked_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_derived_type_using_base_set_tracked()
    Find_derived_type_using_base_set_tracked()
    public virtual void Find_derived_type_using_base_set_tracked()Public Overridable Sub Find_derived_type_using_base_set_tracked
  • Find_derived_type_using_base_set_tracked_async()
    Find_derived_type_using_base_set_tracked_async()
    public virtual Task Find_derived_type_using_base_set_tracked_async()Public Overridable Function Find_derived_type_using_base_set_tracked_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_derived_using_base_set_type_from_store()
    Find_derived_using_base_set_type_from_store()
    public virtual void Find_derived_using_base_set_type_from_store()Public Overridable Sub Find_derived_using_base_set_type_from_store
  • Find_derived_using_base_set_type_from_store_async()
    Find_derived_using_base_set_type_from_store_async()
    public virtual Task Find_derived_using_base_set_type_from_store_async()Public Overridable Function Find_derived_using_base_set_type_from_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_int_key_from_store()
    Find_int_key_from_store()
    public virtual void Find_int_key_from_store()Public Overridable Sub Find_int_key_from_store
  • Find_int_key_from_store_async()
    Find_int_key_from_store_async()
    public virtual Task Find_int_key_from_store_async()Public Overridable Function Find_int_key_from_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_int_key_tracked()
    Find_int_key_tracked()
    public virtual void Find_int_key_tracked()Public Overridable Sub Find_int_key_tracked
  • Find_int_key_tracked_async()
    Find_int_key_tracked_async()
    public virtual Task Find_int_key_tracked_async()Public Overridable Function Find_int_key_tracked_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_shadow_key_from_store()
    Find_shadow_key_from_store()
    public virtual void Find_shadow_key_from_store()Public Overridable Sub Find_shadow_key_from_store
  • Find_shadow_key_from_store_async()
    Find_shadow_key_from_store_async()
    public virtual Task Find_shadow_key_from_store_async()Public Overridable Function Find_shadow_key_from_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_shadow_key_tracked()
    Find_shadow_key_tracked()
    public virtual void Find_shadow_key_tracked()Public Overridable Sub Find_shadow_key_tracked
  • Find_shadow_key_tracked_async()
    Find_shadow_key_tracked_async()
    public virtual Task Find_shadow_key_tracked_async()Public Overridable Function Find_shadow_key_tracked_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_string_key_from_store()
    Find_string_key_from_store()
    public virtual void Find_string_key_from_store()Public Overridable Sub Find_string_key_from_store
  • Find_string_key_from_store_async()
    Find_string_key_from_store_async()
    public virtual Task Find_string_key_from_store_async()Public Overridable Function Find_string_key_from_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find_string_key_tracked()
    Find_string_key_tracked()
    public virtual void Find_string_key_tracked()Public Overridable Sub Find_string_key_tracked
  • Find_string_key_tracked_async()
    Find_string_key_tracked_async()
    public virtual Task Find_string_key_tracked_async()Public Overridable Function Find_string_key_tracked_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Find<TEntity>(DbContext, Object[])
    Find(Of TEntity)(DbContext, Object())
    protected abstract TEntity Find<TEntity>(DbContext context, params object[] keyValues)where TEntity : classProtected MustOverride Function Find(Of TEntity As Class)(context As DbContext, ParamArray keyValues As Object()) As TEntity

    Parameters

    Returns

    • TEntity
      TEntity
  • FindAsync<TEntity>(DbContext, Object[])
    FindAsync(Of TEntity)(DbContext, Object())
    protected abstract Task<TEntity> FindAsync<TEntity>(DbContext context, params object[] keyValues)where TEntity : classProtected MustOverride Function FindAsync(Of TEntity As Class)(context As DbContext, ParamArray keyValues As Object()) As Task(Of TEntity)

    Parameters

    Returns

    • System.Threading.Tasks.Task<TResult><TEntity>
      System.Threading.Tasks.Task<TResult>(Of TEntity)
  • Returns_null_for_base_type_not_in_store()
    Returns_null_for_base_type_not_in_store()
    public virtual void Returns_null_for_base_type_not_in_store()Public Overridable Sub Returns_null_for_base_type_not_in_store
  • Returns_null_for_base_type_not_in_store_async()
    Returns_null_for_base_type_not_in_store_async()
    public virtual Task Returns_null_for_base_type_not_in_store_async()Public Overridable Function Returns_null_for_base_type_not_in_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Returns_null_for_composite_key_not_in_store()
    Returns_null_for_composite_key_not_in_store()
    public virtual void Returns_null_for_composite_key_not_in_store()Public Overridable Sub Returns_null_for_composite_key_not_in_store
  • Returns_null_for_composite_key_not_in_store_async()
    Returns_null_for_composite_key_not_in_store_async()
    public virtual Task Returns_null_for_composite_key_not_in_store_async()Public Overridable Function Returns_null_for_composite_key_not_in_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Returns_null_for_derived_type_not_in_store()
    Returns_null_for_derived_type_not_in_store()
    public virtual void Returns_null_for_derived_type_not_in_store()Public Overridable Sub Returns_null_for_derived_type_not_in_store
  • Returns_null_for_derived_type_not_in_store_async()
    Returns_null_for_derived_type_not_in_store_async()
    public virtual Task Returns_null_for_derived_type_not_in_store_async()Public Overridable Function Returns_null_for_derived_type_not_in_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Returns_null_for_int_key_not_in_store()
    Returns_null_for_int_key_not_in_store()
    public virtual void Returns_null_for_int_key_not_in_store()Public Overridable Sub Returns_null_for_int_key_not_in_store
  • Returns_null_for_int_key_not_in_store_async()
    Returns_null_for_int_key_not_in_store_async()
    public virtual Task Returns_null_for_int_key_not_in_store_async()Public Overridable Function Returns_null_for_int_key_not_in_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Returns_null_for_shadow_key_not_in_store()
    Returns_null_for_shadow_key_not_in_store()
    public virtual void Returns_null_for_shadow_key_not_in_store()Public Overridable Sub Returns_null_for_shadow_key_not_in_store
  • Returns_null_for_shadow_key_not_in_store_async()
    Returns_null_for_shadow_key_not_in_store_async()
    public virtual Task Returns_null_for_shadow_key_not_in_store_async()Public Overridable Function Returns_null_for_shadow_key_not_in_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Returns_null_for_string_key_not_in_store()
    Returns_null_for_string_key_not_in_store()
    public virtual void Returns_null_for_string_key_not_in_store()Public Overridable Sub Returns_null_for_string_key_not_in_store
  • Returns_null_for_string_key_not_in_store_async()
    Returns_null_for_string_key_not_in_store_async()
    public virtual Task Returns_null_for_string_key_not_in_store_async()Public Overridable Function Returns_null_for_string_key_not_in_store_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Throws_for_bad_entity_type()
    Throws_for_bad_entity_type()
    public virtual void Throws_for_bad_entity_type()Public Overridable Sub Throws_for_bad_entity_type
  • Throws_for_bad_entity_type_async()
    Throws_for_bad_entity_type_async()
    public virtual Task Throws_for_bad_entity_type_async()Public Overridable Function Throws_for_bad_entity_type_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Throws_for_bad_type_for_composite_key()
    Throws_for_bad_type_for_composite_key()
    public virtual void Throws_for_bad_type_for_composite_key()Public Overridable Sub Throws_for_bad_type_for_composite_key
  • Throws_for_bad_type_for_composite_key_async()
    Throws_for_bad_type_for_composite_key_async()
    public virtual Task Throws_for_bad_type_for_composite_key_async()Public Overridable Function Throws_for_bad_type_for_composite_key_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Throws_for_bad_type_for_simple_key()
    Throws_for_bad_type_for_simple_key()
    public virtual void Throws_for_bad_type_for_simple_key()Public Overridable Sub Throws_for_bad_type_for_simple_key
  • Throws_for_bad_type_for_simple_key_async()
    Throws_for_bad_type_for_simple_key_async()
    public virtual Task Throws_for_bad_type_for_simple_key_async()Public Overridable Function Throws_for_bad_type_for_simple_key_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Throws_for_multiple_values_passed_for_simple_key()
    Throws_for_multiple_values_passed_for_simple_key()
    public virtual void Throws_for_multiple_values_passed_for_simple_key()Public Overridable Sub Throws_for_multiple_values_passed_for_simple_key
  • Throws_for_multiple_values_passed_for_simple_key_async()
    Throws_for_multiple_values_passed_for_simple_key_async()
    public virtual Task Throws_for_multiple_values_passed_for_simple_key_async()Public Overridable Function Throws_for_multiple_values_passed_for_simple_key_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Throws_for_null_in_composite_key()
    Throws_for_null_in_composite_key()
    public virtual void Throws_for_null_in_composite_key()Public Overridable Sub Throws_for_null_in_composite_key
  • Throws_for_null_in_composite_key_async()
    Throws_for_null_in_composite_key_async()
    public virtual Task Throws_for_null_in_composite_key_async()Public Overridable Function Throws_for_null_in_composite_key_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Throws_for_null_key()
    Throws_for_null_key()
    public virtual void Throws_for_null_key()Public Overridable Sub Throws_for_null_key
  • Throws_for_null_key_async()
    Throws_for_null_key_async()
    public virtual Task Throws_for_null_key_async()Public Overridable Function Throws_for_null_key_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Throws_for_null_key_values_array()
    Throws_for_null_key_values_array()
    public virtual void Throws_for_null_key_values_array()Public Overridable Sub Throws_for_null_key_values_array
  • Throws_for_null_key_values_array_async()
    Throws_for_null_key_values_array_async()
    public virtual Task Throws_for_null_key_values_array_async()Public Overridable Function Throws_for_null_key_values_array_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Throws_for_wrong_number_of_values_for_composite_key()
    Throws_for_wrong_number_of_values_for_composite_key()
    public virtual void Throws_for_wrong_number_of_values_for_composite_key()Public Overridable Sub Throws_for_wrong_number_of_values_for_composite_key
  • Throws_for_wrong_number_of_values_for_composite_key_async()
    Throws_for_wrong_number_of_values_for_composite_key_async()
    public virtual Task Throws_for_wrong_number_of_values_for_composite_key_async()Public Overridable Function Throws_for_wrong_number_of_values_for_composite_key_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll