OptimisticConcurrencySqlServerTest OptimisticConcurrencySqlServerTest Class

Syntax

Declaration

public class OptimisticConcurrencySqlServerTest : OptimisticConcurrencyTestBase<SqlServerTestStore, F1SqlServerFixture>, IDisposablePublic Class OptimisticConcurrencySqlServerTest
    Inherits OptimisticConcurrencyTestBase(Of SqlServerTestStore, F1SqlServerFixture)
    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

  • OptimisticConcurrencySqlServerTest(F1SqlServerFixture)
    OptimisticConcurrencySqlServerTest(F1SqlServerFixture)
    public OptimisticConcurrencySqlServerTest(F1SqlServerFixture fixture)Public Sub New(fixture As F1SqlServerFixture)

    Parameters

Methods

  • Modifying_concurrency_token_only_is_noop()
    Modifying_concurrency_token_only_is_noop()
    public Task Modifying_concurrency_token_only_is_noop()Public Function Modifying_concurrency_token_only_is_noop 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.SqlServer.FunctionalTests.dll