FindTestBase<TTestStore, TFixture> FindTestBase(Of TTestStore, TFixture) Class

Definition

public abstract class FindTestBase<TTestStore, TFixture> : IClassFixture<TFixture>, IDisposable where TTestStore : TestStore where TFixture : FindTestBase<TTestStore, TFixture>.FindFixtureBase
Public MustInherit Class FindTestBase(Of TTestStore As TestStore, TFixture As FindTestBase(Of TTestStore, TFixture).FindFixtureBase)
    Inherits IClassFixture(Of TFixture)
    Implements IDisposable
Type Parameters
TTestStore
TFixture
Inheritance
System.ObjectSystem.Object
FindTestBase<TTestStore, TFixture>FindTestBase(Of TTestStore, TFixture)
Implements
System.IDisposableSystem.IDisposable

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
Value
TFixture TFixture

TestStore TestStore

protected TTestStore TestStore { get; }
Protected ReadOnly Property TestStore As TTestStore
Value
TTestStore TTestStore

Methods

CreateContext() CreateContext()

protected FindTestBase<TTestStore, TFixture>.FindContext CreateContext()
Protected Function CreateContext As FindTestBase(Of TTestStore, 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(DbContext, Object[]) Find(Of TEntity)(DbContext, Object())

protected abstract TEntity Find<TEntity>(DbContext context, params object[] keyValues)where TEntity : class
Protected MustOverride Function Find(Of TEntity As Class)(context As DbContext, ParamArray keyValues As Object()) As TEntity
Type Parameters
TEntity
Parameters
keyValues
System.Object[] System.Object()
Returns
TEntity TEntity

FindAsync(DbContext, Object[]) FindAsync(Of TEntity)(DbContext, Object())

protected abstract Task<TEntity> FindAsync<TEntity>(DbContext context, params object[] keyValues)where TEntity : class
Protected MustOverride Function FindAsync(Of TEntity As Class)(context As DbContext, ParamArray keyValues As Object()) As Task(Of TEntity)
Type Parameters
TEntity
Parameters
keyValues
System.Object[] System.Object()
Returns
System.Threading.Tasks.Task<TEntity> System.Threading.Tasks.Task(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