RelationalConnectionTest RelationalConnectionTest Class

Syntax

Declaration

public class RelationalConnectionTestPublic Class RelationalConnectionTest

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalConnectionTest
    RelationalConnectionTest

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Methods

  • Can_create_new_connection_from_exsting_DbConnection()
    Can_create_new_connection_from_exsting_DbConnection()
    public void Can_create_new_connection_from_exsting_DbConnection()Public Sub Can_create_new_connection_from_exsting_DbConnection
  • Can_create_new_connection_lazily_using_given_connection_string()
    Can_create_new_connection_lazily_using_given_connection_string()
    public void Can_create_new_connection_lazily_using_given_connection_string()Public Sub Can_create_new_connection_lazily_using_given_connection_string
  • Can_create_new_connection_with_CommandTimeout()
    Can_create_new_connection_with_CommandTimeout()
    public void Can_create_new_connection_with_CommandTimeout()Public Sub Can_create_new_connection_with_CommandTimeout
  • Can_set_CommandTimeout()
    Can_set_CommandTimeout()
    public void Can_set_CommandTimeout()Public Sub Can_set_CommandTimeout
  • Can_use_existing_transaction()
    Can_use_existing_transaction()
    public void Can_use_existing_transaction()Public Sub Can_use_existing_transaction
  • Commit_calls_commit_on_DbTransaction()
    Commit_calls_commit_on_DbTransaction()
    public void Commit_calls_commit_on_DbTransaction()Public Sub Commit_calls_commit_on_DbTransaction
  • Connection_is_opened_and_closed_by_using_transaction()
    Connection_is_opened_and_closed_by_using_transaction()
    public void Connection_is_opened_and_closed_by_using_transaction()Public Sub Connection_is_opened_and_closed_by_using_transaction
  • Connection_is_opened_and_closed_by_using_transaction_async()
    Connection_is_opened_and_closed_by_using_transaction_async()
    public Task Connection_is_opened_and_closed_by_using_transaction_async()Public Function Connection_is_opened_and_closed_by_using_transaction_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Current_transaction_is_disposed_when_connection_is_disposed()
    Current_transaction_is_disposed_when_connection_is_disposed()
    public void Current_transaction_is_disposed_when_connection_is_disposed()Public Sub Current_transaction_is_disposed_when_connection_is_disposed
  • Existing_connection_can_be_opened_and_closed_externally()
    Existing_connection_can_be_opened_and_closed_externally()
    public void Existing_connection_can_be_opened_and_closed_externally()Public Sub Existing_connection_can_be_opened_and_closed_externally
  • Existing_connection_can_be_opened_and_closed_externally_async()
    Existing_connection_can_be_opened_and_closed_externally_async()
    public Task Existing_connection_can_be_opened_and_closed_externally_async()Public Function Existing_connection_can_be_opened_and_closed_externally_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Existing_connection_can_start_in_opened_state()
    Existing_connection_can_start_in_opened_state()
    public void Existing_connection_can_start_in_opened_state()Public Sub Existing_connection_can_start_in_opened_state
  • Existing_connection_is_not_disposed_even_after_being_opened_and_closed()
    Existing_connection_is_not_disposed_even_after_being_opened_and_closed()
    public void Existing_connection_is_not_disposed_even_after_being_opened_and_closed()Public Sub Existing_connection_is_not_disposed_even_after_being_opened_and_closed
  • Existing_connection_is_opened_and_closed_when_necessary()
    Existing_connection_is_opened_and_closed_when_necessary()
    public void Existing_connection_is_opened_and_closed_when_necessary()Public Sub Existing_connection_is_opened_and_closed_when_necessary
  • Lazy_connection_is_async_opened_and_closed_when_necessary()
    Lazy_connection_is_async_opened_and_closed_when_necessary()
    public Task Lazy_connection_is_async_opened_and_closed_when_necessary()Public Function Lazy_connection_is_async_opened_and_closed_when_necessary As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Lazy_connection_is_not_created_just_so_it_can_be_disposed()
    Lazy_connection_is_not_created_just_so_it_can_be_disposed()
    public void Lazy_connection_is_not_created_just_so_it_can_be_disposed()Public Sub Lazy_connection_is_not_created_just_so_it_can_be_disposed
  • Lazy_connection_is_opened_and_closed_when_necessary()
    Lazy_connection_is_opened_and_closed_when_necessary()
    public void Lazy_connection_is_opened_and_closed_when_necessary()Public Sub Lazy_connection_is_opened_and_closed_when_necessary
  • Lazy_connection_is_recreated_if_used_again_after_being_disposed()
    Lazy_connection_is_recreated_if_used_again_after_being_disposed()
    public void Lazy_connection_is_recreated_if_used_again_after_being_disposed()Public Sub Lazy_connection_is_recreated_if_used_again_after_being_disposed
  • Rollback_calls_rollback_on_DbTransaction()
    Rollback_calls_rollback_on_DbTransaction()
    public void Rollback_calls_rollback_on_DbTransaction()Public Sub Rollback_calls_rollback_on_DbTransaction
  • Throws_if_both_connection_and_connection_string_are_specified()
    Throws_if_both_connection_and_connection_string_are_specified()
    public void Throws_if_both_connection_and_connection_string_are_specified()Public Sub Throws_if_both_connection_and_connection_string_are_specified
  • Throws_if_CommandTimeout_out_of_range()
    Throws_if_CommandTimeout_out_of_range()
    public void Throws_if_CommandTimeout_out_of_range()Public Sub Throws_if_CommandTimeout_out_of_range
  • Throws_if_multiple_relational_stores_configured()
    Throws_if_multiple_relational_stores_configured()
    public void Throws_if_multiple_relational_stores_configured()Public Sub Throws_if_multiple_relational_stores_configured
  • Throws_if_no_connection_or_connection_string_is_specified()
    Throws_if_no_connection_or_connection_string_is_specified()
    public void Throws_if_no_connection_or_connection_string_is_specified()Public Sub Throws_if_no_connection_or_connection_string_is_specified
  • Throws_if_no_relational_store_configured()
    Throws_if_no_relational_store_configured()
    public void Throws_if_no_relational_store_configured()Public Sub Throws_if_no_relational_store_configured
  • Throws_when_commit_is_called_without_active_transaction()
    Throws_when_commit_is_called_without_active_transaction()
    public void Throws_when_commit_is_called_without_active_transaction()Public Sub Throws_when_commit_is_called_without_active_transaction
  • Throws_when_rollback_is_called_without_active_transaction()
    Throws_when_rollback_is_called_without_active_transaction()
    public void Throws_when_rollback_is_called_without_active_transaction()Public Sub Throws_when_rollback_is_called_without_active_transaction
  • Throws_with_add_when_no_EF_services_because_parameterless_constructor_use_Database()
    Throws_with_add_when_no_EF_services_because_parameterless_constructor_use_Database()
    public void Throws_with_add_when_no_EF_services_because_parameterless_constructor_use_Database()Public Sub Throws_with_add_when_no_EF_services_because_parameterless_constructor_use_Database
  • Throws_with_add_when_no_EF_services_use_Database()
    Throws_with_add_when_no_EF_services_use_Database()
    public void Throws_with_add_when_no_EF_services_use_Database()Public Sub Throws_with_add_when_no_EF_services_use_Database
  • Throws_with_add_when_no_provider_use_Database()
    Throws_with_add_when_no_provider_use_Database()
    public void Throws_with_add_when_no_provider_use_Database()Public Sub Throws_with_add_when_no_provider_use_Database
  • Throws_with_new_when_no_EF_services_because_parameterless_constructor_use_Database()
    Throws_with_new_when_no_EF_services_because_parameterless_constructor_use_Database()
    public void Throws_with_new_when_no_EF_services_because_parameterless_constructor_use_Database()Public Sub Throws_with_new_when_no_EF_services_because_parameterless_constructor_use_Database
  • Throws_with_new_when_no_EF_services_use_Database()
    Throws_with_new_when_no_EF_services_use_Database()
    public void Throws_with_new_when_no_EF_services_use_Database()Public Sub Throws_with_new_when_no_EF_services_use_Database
  • Throws_with_new_when_no_provider_use_Database()
    Throws_with_new_when_no_provider_use_Database()
    public void Throws_with_new_when_no_provider_use_Database()Public Sub Throws_with_new_when_no_provider_use_Database
  • Transaction_can_begin_with_isolation_level()
    Transaction_can_begin_with_isolation_level()
    public void Transaction_can_begin_with_isolation_level()Public Sub Transaction_can_begin_with_isolation_level
  • Transaction_can_begin_with_isolation_level_async()
    Transaction_can_begin_with_isolation_level_async()
    public Task Transaction_can_begin_with_isolation_level_async()Public Function Transaction_can_begin_with_isolation_level_async As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Tests.dll