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

Definition

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

Constructors

DatabindingTestBase(TFixture) DatabindingTestBase(TFixture)

protected DatabindingTestBase(TFixture fixture)
Protected Sub New(fixture As TFixture)
Parameters
fixture
TFixture TFixture

Fields

AddedCount AddedCount

protected const int AddedCount = 2
Protected Const AddedCount As Integer = 2

AddedTeam AddedTeam

protected const int AddedTeam = 11
Protected Const AddedTeam As Integer = 11

DeletedCount DeletedCount

protected const int DeletedCount = 4
Protected Const DeletedCount As Integer = 4

DeletedTeam DeletedTeam

protected const int DeletedTeam = 10
Protected Const DeletedTeam As Integer = 10

ModifedTeam ModifedTeam

protected const int ModifedTeam = 9
Protected Const ModifedTeam As Integer = 9

ModifiedCount ModifiedCount

protected const int ModifiedCount = 3
Protected Const ModifiedCount As Integer = 3

UnchangedCount UnchangedCount

protected const int UnchangedCount = 3
Protected Const UnchangedCount As Integer = 3

UnchangedTeam UnchangedTeam

protected const int UnchangedTeam = 2
Protected Const UnchangedTeam As Integer = 2

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

Adding_entity_to_context_is_reflected_in_local_binding_list() Adding_entity_to_context_is_reflected_in_local_binding_list()

public virtual void Adding_entity_to_context_is_reflected_in_local_binding_list()
Public Overridable Sub Adding_entity_to_context_is_reflected_in_local_binding_list

Adding_entity_to_context_is_reflected_in_local_view() Adding_entity_to_context_is_reflected_in_local_view()

public virtual void Adding_entity_to_context_is_reflected_in_local_view()
Public Overridable Sub Adding_entity_to_context_is_reflected_in_local_view

Adding_entity_to_local_binding_list_that_is_already_in_the_state_manager_and_not_Deleted_is_noop() Adding_entity_to_local_binding_list_that_is_already_in_the_state_manager_and_not_Deleted_is_noop()

public virtual void Adding_entity_to_local_binding_list_that_is_already_in_the_state_manager_and_not_Deleted_is_noop()
Public Overridable Sub Adding_entity_to_local_binding_list_that_is_already_in_the_state_manager_and_not_Deleted_is_noop

Adding_entity_to_local_binding_list_that_is_Deleted_in_the_state_manager_makes_entity_Added() Adding_entity_to_local_binding_list_that_is_Deleted_in_the_state_manager_makes_entity_Added()

public virtual void Adding_entity_to_local_binding_list_that_is_Deleted_in_the_state_manager_makes_entity_Added()
Public Overridable Sub Adding_entity_to_local_binding_list_that_is_Deleted_in_the_state_manager_makes_entity_Added

Adding_entity_to_local_view_that_is_already_in_the_state_manager_and_not_Deleted_is_noop() Adding_entity_to_local_view_that_is_already_in_the_state_manager_and_not_Deleted_is_noop()

public virtual void Adding_entity_to_local_view_that_is_already_in_the_state_manager_and_not_Deleted_is_noop()
Public Overridable Sub Adding_entity_to_local_view_that_is_already_in_the_state_manager_and_not_Deleted_is_noop

Adding_entity_to_local_view_that_is_Deleted_in_the_state_manager_makes_entity_Added() Adding_entity_to_local_view_that_is_Deleted_in_the_state_manager_makes_entity_Added()

public virtual void Adding_entity_to_local_view_that_is_Deleted_in_the_state_manager_makes_entity_Added()
Public Overridable Sub Adding_entity_to_local_view_that_is_Deleted_in_the_state_manager_makes_entity_Added

Adding_entity_to_state_manager_of_different_type_than_local_view_type_has_no_effect_on_local_binding_list() Adding_entity_to_state_manager_of_different_type_than_local_view_type_has_no_effect_on_local_binding_list()

public void Adding_entity_to_state_manager_of_different_type_than_local_view_type_has_no_effect_on_local_binding_list()
Public Sub Adding_entity_to_state_manager_of_different_type_than_local_view_type_has_no_effect_on_local_binding_list

Adding_entity_to_state_manager_of_different_type_than_local_view_type_has_no_effect_on_local_view() Adding_entity_to_state_manager_of_different_type_than_local_view_type_has_no_effect_on_local_view()

public virtual void Adding_entity_to_state_manager_of_different_type_than_local_view_type_has_no_effect_on_local_view()
Public Overridable Sub Adding_entity_to_state_manager_of_different_type_than_local_view_type_has_no_effect_on_local_view

Adding_entity_to_state_manager_of_subtype_still_shows_up_in_local_binding_list() Adding_entity_to_state_manager_of_subtype_still_shows_up_in_local_binding_list()

public virtual void Adding_entity_to_state_manager_of_subtype_still_shows_up_in_local_binding_list()
Public Overridable Sub Adding_entity_to_state_manager_of_subtype_still_shows_up_in_local_binding_list

Adding_entity_to_state_manager_of_subtype_still_shows_up_in_local_view() Adding_entity_to_state_manager_of_subtype_still_shows_up_in_local_view()

public virtual void Adding_entity_to_state_manager_of_subtype_still_shows_up_in_local_view()
Public Overridable Sub Adding_entity_to_state_manager_of_subtype_still_shows_up_in_local_view

Attaching_entity_to_context_is_reflected_in_local_view() Attaching_entity_to_context_is_reflected_in_local_view()

public virtual void Attaching_entity_to_context_is_reflected_in_local_view()
Public Overridable Sub Attaching_entity_to_context_is_reflected_in_local_view

CreateF1Context() CreateF1Context()

protected F1Context CreateF1Context()
Protected Function CreateF1Context As F1Context
Returns

DbSet_Local_contains_Unchanged_Modified_and_Added_entities_but_not_Deleted_entities() DbSet_Local_contains_Unchanged_Modified_and_Added_entities_but_not_Deleted_entities()

public virtual void DbSet_Local_contains_Unchanged_Modified_and_Added_entities_but_not_Deleted_entities()
Public Overridable Sub DbSet_Local_contains_Unchanged_Modified_and_Added_entities_but_not_Deleted_entities

DbSet_Local_does_not_call_DetectChanges() DbSet_Local_does_not_call_DetectChanges()

public virtual void DbSet_Local_does_not_call_DetectChanges()
Public Overridable Sub DbSet_Local_does_not_call_DetectChanges

DbSet_Local_is_cached_on_the_set() DbSet_Local_is_cached_on_the_set()

public virtual void DbSet_Local_is_cached_on_the_set()
Public Overridable Sub DbSet_Local_is_cached_on_the_set

DbSet_Local_ToBindingList_contains_Unchanged_Modified_and_Added_entities_but_not_Deleted_entities() DbSet_Local_ToBindingList_contains_Unchanged_Modified_and_Added_entities_but_not_Deleted_entities()

public virtual void DbSet_Local_ToBindingList_contains_Unchanged_Modified_and_Added_entities_but_not_Deleted_entities()
Public Overridable Sub DbSet_Local_ToBindingList_contains_Unchanged_Modified_and_Added_entities_but_not_Deleted_entities

DbSet_Local_ToBindingList_is_cached_on_the_set() DbSet_Local_ToBindingList_is_cached_on_the_set()

public virtual void DbSet_Local_ToBindingList_is_cached_on_the_set()
Public Overridable Sub DbSet_Local_ToBindingList_is_cached_on_the_set

Dispose() Dispose()

public virtual void Dispose()
Public Overridable Sub Dispose

Entities_added_to_local_binding_list_are_added_to_state_manager() Entities_added_to_local_binding_list_are_added_to_state_manager()

public virtual void Entities_added_to_local_binding_list_are_added_to_state_manager()
Public Overridable Sub Entities_added_to_local_binding_list_are_added_to_state_manager

Entities_added_to_local_view_are_added_to_state_manager() Entities_added_to_local_view_are_added_to_state_manager()

public virtual void Entities_added_to_local_view_are_added_to_state_manager()
Public Overridable Sub Entities_added_to_local_view_are_added_to_state_manager

Entities_deleted_from_context_are_removed_from_local_binding_list() Entities_deleted_from_context_are_removed_from_local_binding_list()

public virtual void Entities_deleted_from_context_are_removed_from_local_binding_list()
Public Overridable Sub Entities_deleted_from_context_are_removed_from_local_binding_list

Entities_deleted_from_context_are_removed_from_local_view() Entities_deleted_from_context_are_removed_from_local_view()

public virtual void Entities_deleted_from_context_are_removed_from_local_view()
Public Overridable Sub Entities_deleted_from_context_are_removed_from_local_view

Entities_detached_from_context_are_removed_from_local_binding_list() Entities_detached_from_context_are_removed_from_local_binding_list()

public virtual void Entities_detached_from_context_are_removed_from_local_binding_list()
Public Overridable Sub Entities_detached_from_context_are_removed_from_local_binding_list

Entities_detached_from_context_are_removed_from_local_view() Entities_detached_from_context_are_removed_from_local_view()

public virtual void Entities_detached_from_context_are_removed_from_local_view()
Public Overridable Sub Entities_detached_from_context_are_removed_from_local_view

Entities_materialized_into_context_are_reflected_in_local_binding_list() Entities_materialized_into_context_are_reflected_in_local_binding_list()

public virtual void Entities_materialized_into_context_are_reflected_in_local_binding_list()
Public Overridable Sub Entities_materialized_into_context_are_reflected_in_local_binding_list

Entities_materialized_into_context_are_reflected_in_local_view() Entities_materialized_into_context_are_reflected_in_local_view()

public virtual void Entities_materialized_into_context_are_reflected_in_local_view()
Public Overridable Sub Entities_materialized_into_context_are_reflected_in_local_view

Entities_removed_from_the_local_binding_list_are_marked_deleted_in_the_state_manager() Entities_removed_from_the_local_binding_list_are_marked_deleted_in_the_state_manager()

public virtual void Entities_removed_from_the_local_binding_list_are_marked_deleted_in_the_state_manager()
Public Overridable Sub Entities_removed_from_the_local_binding_list_are_marked_deleted_in_the_state_manager

Entities_removed_from_the_local_view_are_marked_deleted_in_the_state_manager() Entities_removed_from_the_local_view_are_marked_deleted_in_the_state_manager()

public virtual void Entities_removed_from_the_local_view_are_marked_deleted_in_the_state_manager()
Public Overridable Sub Entities_removed_from_the_local_view_are_marked_deleted_in_the_state_manager

Entities_with_state_changed_from_deleted_to_added_are_added_to_local_view() Entities_with_state_changed_from_deleted_to_added_are_added_to_local_view()

public virtual void Entities_with_state_changed_from_deleted_to_added_are_added_to_local_view()
Public Overridable Sub Entities_with_state_changed_from_deleted_to_added_are_added_to_local_view

Entities_with_state_changed_from_deleted_to_unchanged_are_added_to_local_view() Entities_with_state_changed_from_deleted_to_unchanged_are_added_to_local_view()

public virtual void Entities_with_state_changed_from_deleted_to_unchanged_are_added_to_local_view()
Public Overridable Sub Entities_with_state_changed_from_deleted_to_unchanged_are_added_to_local_view

Entities_with_state_changed_to_deleted_are_removed_from_local_view() Entities_with_state_changed_to_deleted_are_removed_from_local_view()

public virtual void Entities_with_state_changed_to_deleted_are_removed_from_local_view()
Public Overridable Sub Entities_with_state_changed_to_deleted_are_removed_from_local_view

Entities_with_state_changed_to_detached_are_removed_from_local_view() Entities_with_state_changed_to_detached_are_removed_from_local_view()

public virtual void Entities_with_state_changed_to_detached_are_removed_from_local_view()
Public Overridable Sub Entities_with_state_changed_to_detached_are_removed_from_local_view

Entity_added_to_context_is_added_to_navigation_property_binding_list() Entity_added_to_context_is_added_to_navigation_property_binding_list()

public virtual void Entity_added_to_context_is_added_to_navigation_property_binding_list()
Public Overridable Sub Entity_added_to_context_is_added_to_navigation_property_binding_list

Entity_added_to_navigation_property_binding_list_is_added_to_context_after_DetectChanges() Entity_added_to_navigation_property_binding_list_is_added_to_context_after_DetectChanges()

public virtual void Entity_added_to_navigation_property_binding_list_is_added_to_context_after_DetectChanges()
Public Overridable Sub Entity_added_to_navigation_property_binding_list_is_added_to_context_after_DetectChanges

Entity_removed_from_navigation_property_binding_list_is_removed_from_nav_property_but_not_marked_Deleted() Entity_removed_from_navigation_property_binding_list_is_removed_from_nav_property_but_not_marked_Deleted()

public virtual void Entity_removed_from_navigation_property_binding_list_is_removed_from_nav_property_but_not_marked_Deleted()
Public Overridable Sub Entity_removed_from_navigation_property_binding_list_is_removed_from_nav_property_but_not_marked_Deleted

Load_executes_query_on_DbQuery() Load_executes_query_on_DbQuery()

public virtual void Load_executes_query_on_DbQuery()
Public Overridable Sub Load_executes_query_on_DbQuery

Local_view_used_in_database_initializer_is_reset_for_use_with_real_context() Local_view_used_in_database_initializer_is_reset_for_use_with_real_context()

public virtual void Local_view_used_in_database_initializer_is_reset_for_use_with_real_context()
Public Overridable Sub Local_view_used_in_database_initializer_is_reset_for_use_with_real_context

LocalView_is_initialized_with_entities_from_the_context() LocalView_is_initialized_with_entities_from_the_context()

public void LocalView_is_initialized_with_entities_from_the_context()
Public Sub LocalView_is_initialized_with_entities_from_the_context

Sets_containing_instances_of_subtypes_can_still_be_sorted() Sets_containing_instances_of_subtypes_can_still_be_sorted()

public virtual void Sets_containing_instances_of_subtypes_can_still_be_sorted()
Public Overridable Sub Sets_containing_instances_of_subtypes_can_still_be_sorted

Sets_of_subtypes_can_still_be_sorted() Sets_of_subtypes_can_still_be_sorted()

public virtual void Sets_of_subtypes_can_still_be_sorted()
Public Overridable Sub Sets_of_subtypes_can_still_be_sorted

SetupContext(F1Context) SetupContext(F1Context)

protected void SetupContext(F1Context context)
Protected Sub SetupContext(context As F1Context)
Parameters