OptimisticConcurrencySqliteTest OptimisticConcurrencySqliteTest Class

Syntax

Declaration

public class OptimisticConcurrencySqliteTest : OptimisticConcurrencyTestBase<SqliteTestStore, F1SqliteFixture>, IDisposablePublic Class OptimisticConcurrencySqliteTest
    Inherits OptimisticConcurrencyTestBase(Of SqliteTestStore, F1SqliteFixture)
    Implements IDisposable

Inheritance Hierarchy

Inherited Members

Nullable_client_side_concurrency_token_can_be_used(),
Nullable_client_side_concurrency_token_can_be_used(),
Simple_concurrency_exception_can_be_resolved_with_client_values(),
Simple_concurrency_exception_can_be_resolved_with_client_values(),
Simple_concurrency_exception_can_be_resolved_with_store_values(),
Simple_concurrency_exception_can_be_resolved_with_store_values(),
Simple_concurrency_exception_can_be_resolved_with_new_values(),
Simple_concurrency_exception_can_be_resolved_with_new_values(),
Simple_concurrency_exception_can_be_resolved_with_store_values_using_equivalent_of_accept_changes(),
Simple_concurrency_exception_can_be_resolved_with_store_values_using_equivalent_of_accept_changes(),
Simple_concurrency_exception_can_be_resolved_with_store_values_using_Reload(),
Simple_concurrency_exception_can_be_resolved_with_store_values_using_Reload(),
Two_concurrency_issues_in_one_to_one_related_entities_can_be_handled_by_dealing_with_dependent_first(),
Two_concurrency_issues_in_one_to_one_related_entities_can_be_handled_by_dealing_with_dependent_first(),
Two_concurrency_issues_in_one_to_many_related_entities_can_be_handled_by_dealing_with_dependent_first(),
Two_concurrency_issues_in_one_to_many_related_entities_can_be_handled_by_dealing_with_dependent_first(),
Concurrency_issue_where_the_FK_is_the_concurrency_token_can_be_handled(),
Concurrency_issue_where_the_FK_is_the_concurrency_token_can_be_handled(),
Change_in_independent_association_results_in_independent_association_exception(),
Change_in_independent_association_results_in_independent_association_exception(),
Change_in_independent_association_after_change_in_different_concurrency_token_results_in_independent_association_exception(),
Change_in_independent_association_after_change_in_different_concurrency_token_results_in_independent_association_exception(),
Attempting_to_delete_same_relationship_twice_for_many_to_many_results_in_independent_association_exception(),
Attempting_to_delete_same_relationship_twice_for_many_to_many_results_in_independent_association_exception(),
Attempting_to_add_same_relationship_twice_for_many_to_many_results_in_independent_association_exception(),
Attempting_to_add_same_relationship_twice_for_many_to_many_results_in_independent_association_exception(),
Concurrency_issue_where_a_complex_type_nested_member_is_the_concurrency_token_can_be_handled(),
Concurrency_issue_where_a_complex_type_nested_member_is_the_concurrency_token_can_be_handled(),
Adding_the_same_entity_twice_results_in_DbUpdateException(),
Adding_the_same_entity_twice_results_in_DbUpdateException(),
Deleting_the_same_entity_twice_results_in_DbUpdateConcurrencyException(),
Deleting_the_same_entity_twice_results_in_DbUpdateConcurrencyException(),
Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException(),
Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException(),
Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException_which_can_be_resolved_with_store_values(),
Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException_which_can_be_resolved_with_store_values(),
Deleting_then_updating_the_same_entity_results_in_DbUpdateConcurrencyException(),
Deleting_then_updating_the_same_entity_results_in_DbUpdateConcurrencyException(),
Deleting_then_updating_the_same_entity_results_in_DbUpdateConcurrencyException_which_can_be_resolved_with_store_values(),
Deleting_then_updating_the_same_entity_results_in_DbUpdateConcurrencyException_which_can_be_resolved_with_store_values(),
Calling_Reload_on_an__Added_entity_that_is_not_in_database_is_no_op(Boolean),
Calling_Reload_on_an__Added_entity_that_is_not_in_database_is_no_op(Boolean),
Calling_Reload_on_an_Unchanged_entity_that_is_not_in_database_detaches_it(Boolean),
Calling_Reload_on_an_Unchanged_entity_that_is_not_in_database_detaches_it(Boolean),
Calling_Reload_on_a_Modified_entity_that_is_not_in_database_detaches_it(Boolean),
Calling_Reload_on_a_Modified_entity_that_is_not_in_database_detaches_it(Boolean),
Calling_Reload_on_a_Deleted_entity_that_is_not_in_database_detaches_it(Boolean),
Calling_Reload_on_a_Deleted_entity_that_is_not_in_database_detaches_it(Boolean),
Calling_Reload_on_a_Detached_entity_that_is_not_in_database_detaches_it(Boolean),
Calling_Reload_on_a_Detached_entity_that_is_not_in_database_detaches_it(Boolean),
Calling_Reload_on_an_Unchanged_entity_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_an_Unchanged_entity_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_a_Modified_entity_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_a_Modified_entity_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_a_Deleted_entity_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_a_Deleted_entity_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_an_Added_entity_that_was_saved_elsewhere_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_an_Added_entity_that_was_saved_elsewhere_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_a_Detached_entity_makes_the_entity_unchanged(Boolean),
Calling_Reload_on_a_Detached_entity_makes_the_entity_unchanged(Boolean),
StorePodiums,
StorePodiums,
ClientPodiums,
ClientPodiums,
ResolveConcurrencyTokens(EntityEntry),
ResolveConcurrencyTokens(EntityEntry),
CreateF1Context(),
CreateF1Context(),
Dispose(),
Dispose(),
Fixture,
Fixture,
TestStore,
TestStore,
ConcurrencyTestAsync(Action<F1Context>, Action<F1Context>, Action<F1Context, DbUpdateException>, Action<F1Context>),
ConcurrencyTestAsync(Action(Of F1Context), Action(Of F1Context), Action(Of F1Context, DbUpdateException), Action(Of F1Context)),
UseTransaction(DatabaseFacade, IDbContextTransaction)
UseTransaction(DatabaseFacade, IDbContextTransaction)

Constructors summary

Methods summary

Constructors

  • OptimisticConcurrencySqliteTest(F1SqliteFixture)
    OptimisticConcurrencySqliteTest(F1SqliteFixture)
    public OptimisticConcurrencySqliteTest(F1SqliteFixture fixture)Public Sub New(fixture As F1SqliteFixture)

    Parameters

Methods

  • Change_in_independent_association_after_change_in_different_concurrency_token_results_in_independent_association_exception()
    Change_in_independent_association_after_change_in_different_concurrency_token_results_in_independent_association_exception()
    public override Task Change_in_independent_association_after_change_in_different_concurrency_token_results_in_independent_association_exception()Public Overrides Function Change_in_independent_association_after_change_in_different_concurrency_token_results_in_independent_association_exception As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Change_in_independent_association_results_in_independent_association_exception()
    Change_in_independent_association_results_in_independent_association_exception()
    public override Task Change_in_independent_association_results_in_independent_association_exception()Public Overrides Function Change_in_independent_association_results_in_independent_association_exception As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Simple_concurrency_exception_can_be_resolved_with_client_values()
    Simple_concurrency_exception_can_be_resolved_with_client_values()
    public override Task Simple_concurrency_exception_can_be_resolved_with_client_values()Public Overrides Function Simple_concurrency_exception_can_be_resolved_with_client_values As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Simple_concurrency_exception_can_be_resolved_with_new_values()
    Simple_concurrency_exception_can_be_resolved_with_new_values()
    public override Task Simple_concurrency_exception_can_be_resolved_with_new_values()Public Overrides Function Simple_concurrency_exception_can_be_resolved_with_new_values As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Simple_concurrency_exception_can_be_resolved_with_store_values()
    Simple_concurrency_exception_can_be_resolved_with_store_values()
    public override Task Simple_concurrency_exception_can_be_resolved_with_store_values()Public Overrides Function Simple_concurrency_exception_can_be_resolved_with_store_values As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Simple_concurrency_exception_can_be_resolved_with_store_values_using_equivalent_of_accept_changes()
    Simple_concurrency_exception_can_be_resolved_with_store_values_using_equivalent_of_accept_changes()
    public override Task Simple_concurrency_exception_can_be_resolved_with_store_values_using_equivalent_of_accept_changes()Public Overrides Function Simple_concurrency_exception_can_be_resolved_with_store_values_using_equivalent_of_accept_changes As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Simple_concurrency_exception_can_be_resolved_with_store_values_using_Reload()
    Simple_concurrency_exception_can_be_resolved_with_store_values_using_Reload()
    public override Task Simple_concurrency_exception_can_be_resolved_with_store_values_using_Reload()Public Overrides Function Simple_concurrency_exception_can_be_resolved_with_store_values_using_Reload As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException()
    Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException()
    public override Task Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException()Public Overrides Function Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException_which_can_be_resolved_with_store_values()
    Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException_which_can_be_resolved_with_store_values()
    public override Task Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException_which_can_be_resolved_with_store_values()Public Overrides Function Updating_then_deleting_the_same_entity_results_in_DbUpdateConcurrencyException_which_can_be_resolved_with_store_values As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • UseTransaction(DatabaseFacade, IDbContextTransaction)
    UseTransaction(DatabaseFacade, IDbContextTransaction)
    protected override void UseTransaction(DatabaseFacade facade, IDbContextTransaction transaction)Protected Overrides Sub UseTransaction(facade As DatabaseFacade, transaction As IDbContextTransaction)

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.dll