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

Definition

public abstract class StoreGeneratedTestBase<TTestStore, TFixture> : IClassFixture<TFixture>, IDisposable where TTestStore : TestStore where TFixture : StoreGeneratedTestBase<TTestStore, TFixture>.StoreGeneratedFixtureBase, new ()
Public MustInherit Class StoreGeneratedTestBase(Of TTestStore As TestStore, TFixture As {StoreGeneratedTestBase(Of TTestStore, TFixture).StoreGeneratedFixtureBase, New})
    Inherits IClassFixture(Of TFixture)
    Implements IDisposable
Type Parameters
TTestStore
TFixture
Inheritance
System.ObjectSystem.Object
StoreGeneratedTestBase<TTestStore, TFixture>StoreGeneratedTestBase(Of TTestStore, TFixture)
Implements
System.IDisposableSystem.IDisposable

Constructors

StoreGeneratedTestBase(TFixture) StoreGeneratedTestBase(TFixture)

protected StoreGeneratedTestBase(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

Always_computed_property_on_Added_entity_cannot_have_value_set_explicitly() Always_computed_property_on_Added_entity_cannot_have_value_set_explicitly()

public virtual void Always_computed_property_on_Added_entity_cannot_have_value_set_explicitly()
Public Overridable Sub Always_computed_property_on_Added_entity_cannot_have_value_set_explicitly

Always_computed_property_on_Added_entity_with_default_value_gets_value_from_store() Always_computed_property_on_Added_entity_with_default_value_gets_value_from_store()

public virtual void Always_computed_property_on_Added_entity_with_default_value_gets_value_from_store()
Public Overridable Sub Always_computed_property_on_Added_entity_with_default_value_gets_value_from_store

Always_computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set() Always_computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()

public virtual void Always_computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()
Public Overridable Sub Always_computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set

Always_computed_property_on_Added_entity_with_temporary_value_gets_value_from_store() Always_computed_property_on_Added_entity_with_temporary_value_gets_value_from_store()

public virtual void Always_computed_property_on_Added_entity_with_temporary_value_gets_value_from_store()
Public Overridable Sub Always_computed_property_on_Added_entity_with_temporary_value_gets_value_from_store

Always_computed_property_on_Modified_entity_is_not_included_in_update_even_when_modified() Always_computed_property_on_Modified_entity_is_not_included_in_update_even_when_modified()

public virtual void Always_computed_property_on_Modified_entity_is_not_included_in_update_even_when_modified()
Public Overridable Sub Always_computed_property_on_Modified_entity_is_not_included_in_update_even_when_modified

Always_computed_property_on_Modified_entity_is_read_from_store_when_not_modified() Always_computed_property_on_Modified_entity_is_read_from_store_when_not_modified()

public virtual void Always_computed_property_on_Modified_entity_is_read_from_store_when_not_modified()
Public Overridable Sub Always_computed_property_on_Modified_entity_is_read_from_store_when_not_modified

Always_computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state() Always_computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()

public virtual void Always_computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()
Public Overridable Sub Always_computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state

Always_identity_property_on_Added_entity_gets_store_value_even_when_set_explicitly() Always_identity_property_on_Added_entity_gets_store_value_even_when_set_explicitly()

public virtual void Always_identity_property_on_Added_entity_gets_store_value_even_when_set_explicitly()
Public Overridable Sub Always_identity_property_on_Added_entity_gets_store_value_even_when_set_explicitly

Always_identity_property_on_Added_entity_with_default_value_gets_value_from_store() Always_identity_property_on_Added_entity_with_default_value_gets_value_from_store()

public virtual void Always_identity_property_on_Added_entity_with_default_value_gets_value_from_store()
Public Overridable Sub Always_identity_property_on_Added_entity_with_default_value_gets_value_from_store

Always_identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set() Always_identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()

public virtual void Always_identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()
Public Overridable Sub Always_identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set

Always_identity_property_on_Added_entity_with_temporary_value_gets_value_from_store() Always_identity_property_on_Added_entity_with_temporary_value_gets_value_from_store()

public virtual void Always_identity_property_on_Added_entity_with_temporary_value_gets_value_from_store()
Public Overridable Sub Always_identity_property_on_Added_entity_with_temporary_value_gets_value_from_store

Always_identity_property_on_Modified_entity_is_not_included_in_the_update_when_not_modified() Always_identity_property_on_Modified_entity_is_not_included_in_the_update_when_not_modified()

public virtual void Always_identity_property_on_Modified_entity_is_not_included_in_the_update_when_not_modified()
Public Overridable Sub Always_identity_property_on_Modified_entity_is_not_included_in_the_update_when_not_modified

Always_identity_property_on_Modified_entity_is_not_included_in_update_when_modified() Always_identity_property_on_Modified_entity_is_not_included_in_update_when_modified()

public virtual void Always_identity_property_on_Modified_entity_is_not_included_in_update_when_modified()
Public Overridable Sub Always_identity_property_on_Modified_entity_is_not_included_in_update_when_modified

Always_identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state() Always_identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()

public virtual void Always_identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()
Public Overridable Sub Always_identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state

Computed_property_on_Added_entity_can_have_value_set_explicitly() Computed_property_on_Added_entity_can_have_value_set_explicitly()

public virtual void Computed_property_on_Added_entity_can_have_value_set_explicitly()
Public Overridable Sub Computed_property_on_Added_entity_can_have_value_set_explicitly

Computed_property_on_Added_entity_with_default_value_gets_value_from_store() Computed_property_on_Added_entity_with_default_value_gets_value_from_store()

public virtual void Computed_property_on_Added_entity_with_default_value_gets_value_from_store()
Public Overridable Sub Computed_property_on_Added_entity_with_default_value_gets_value_from_store

Computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set() Computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()

public virtual void Computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()
Public Overridable Sub Computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set

Computed_property_on_Added_entity_with_temporary_value_gets_value_from_store() Computed_property_on_Added_entity_with_temporary_value_gets_value_from_store()

public virtual void Computed_property_on_Added_entity_with_temporary_value_gets_value_from_store()
Public Overridable Sub Computed_property_on_Added_entity_with_temporary_value_gets_value_from_store

Computed_property_on_Modified_entity_is_included_in_update_when_modified() Computed_property_on_Modified_entity_is_included_in_update_when_modified()

public virtual void Computed_property_on_Modified_entity_is_included_in_update_when_modified()
Public Overridable Sub Computed_property_on_Modified_entity_is_included_in_update_when_modified

Computed_property_on_Modified_entity_is_read_from_store_when_not_modified() Computed_property_on_Modified_entity_is_read_from_store_when_not_modified()

public virtual void Computed_property_on_Modified_entity_is_read_from_store_when_not_modified()
Public Overridable Sub Computed_property_on_Modified_entity_is_read_from_store_when_not_modified

Computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state() Computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()

public virtual void Computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()
Public Overridable Sub Computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state

CreateContext() CreateContext()

protected StoreGeneratedTestBase<TTestStore, TFixture>.StoreGeneratedContext CreateContext()
Protected Function CreateContext As StoreGeneratedTestBase(Of TTestStore, TFixture).StoreGeneratedContext
Returns

Dispose() Dispose()

public void Dispose()
Public Sub Dispose

ExecuteWithStrategyInTransaction(Action<>.StoreGeneratedContext>, Action<>.StoreGeneratedContext>, Action<>.StoreGeneratedContext>) ExecuteWithStrategyInTransaction(Action(Of StoreGeneratedTestBase(Of TTestStore, TFixture).StoreGeneratedContext), Action(Of StoreGeneratedTestBase(Of TTestStore, TFixture).StoreGeneratedContext), Action(Of StoreGeneratedTestBase(Of TTestStore, TFixture).StoreGeneratedContext))

protected virtual void ExecuteWithStrategyInTransaction(Action<StoreGeneratedTestBase<TTestStore, TFixture>.StoreGeneratedContext> testOperation, Action<StoreGeneratedTestBase<TTestStore, TFixture>.StoreGeneratedContext> nestedTestOperation1 = null, Action<StoreGeneratedTestBase<TTestStore, TFixture>.StoreGeneratedContext> nestedTestOperation2 = null)
Protected Overridable Sub ExecuteWithStrategyInTransaction(testOperation As Action(Of StoreGeneratedTestBase(Of TTestStore, TFixture).StoreGeneratedContext), nestedTestOperation1 As Action(Of StoreGeneratedTestBase(Of TTestStore, TFixture).StoreGeneratedContext) = Nothing, nestedTestOperation2 As Action(Of StoreGeneratedTestBase(Of TTestStore, TFixture).StoreGeneratedContext) = Nothing)
Parameters
nestedTestOperation1
System.Action<StoreGeneratedTestBase.StoreGeneratedContext<>> System.Action(Of StoreGeneratedTestBase.StoreGeneratedContext(Of ))
nestedTestOperation2
System.Action<StoreGeneratedTestBase.StoreGeneratedContext<>> System.Action(Of StoreGeneratedTestBase.StoreGeneratedContext(Of ))

Identity_key_with_read_only_before_save_throws_if_explicit_values_set() Identity_key_with_read_only_before_save_throws_if_explicit_values_set()

public virtual void Identity_key_with_read_only_before_save_throws_if_explicit_values_set()
Public Overridable Sub Identity_key_with_read_only_before_save_throws_if_explicit_values_set

Identity_property_on_Added_entity_can_have_value_set_explicitly() Identity_property_on_Added_entity_can_have_value_set_explicitly()

public virtual void Identity_property_on_Added_entity_can_have_value_set_explicitly()
Public Overridable Sub Identity_property_on_Added_entity_can_have_value_set_explicitly

Identity_property_on_Added_entity_with_default_value_gets_value_from_store() Identity_property_on_Added_entity_with_default_value_gets_value_from_store()

public virtual void Identity_property_on_Added_entity_with_default_value_gets_value_from_store()
Public Overridable Sub Identity_property_on_Added_entity_with_default_value_gets_value_from_store

Identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set() Identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()

public virtual void Identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()
Public Overridable Sub Identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set

Identity_property_on_Added_entity_with_temporary_value_gets_value_from_store() Identity_property_on_Added_entity_with_temporary_value_gets_value_from_store()

public virtual void Identity_property_on_Added_entity_with_temporary_value_gets_value_from_store()
Public Overridable Sub Identity_property_on_Added_entity_with_temporary_value_gets_value_from_store

Identity_property_on_Modified_entity_is_included_in_update_when_modified() Identity_property_on_Modified_entity_is_included_in_update_when_modified()

public virtual void Identity_property_on_Modified_entity_is_included_in_update_when_modified()
Public Overridable Sub Identity_property_on_Modified_entity_is_included_in_update_when_modified

Identity_property_on_Modified_entity_is_not_included_in_update_when_not_modified() Identity_property_on_Modified_entity_is_not_included_in_update_when_not_modified()

public virtual void Identity_property_on_Modified_entity_is_not_included_in_update_when_not_modified()
Public Overridable Sub Identity_property_on_Modified_entity_is_not_included_in_update_when_not_modified

Identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state() Identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()

public virtual void Identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()
Public Overridable Sub Identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state

UseTransaction(DatabaseFacade, IDbContextTransaction) UseTransaction(DatabaseFacade, IDbContextTransaction)

protected virtual void UseTransaction(DatabaseFacade facade, IDbContextTransaction transaction)
Protected Overridable Sub UseTransaction(facade As DatabaseFacade, transaction As IDbContextTransaction)
Parameters