RelationalCommandTest RelationalCommandTest Class

Definition

public class RelationalCommandTest
Public Class RelationalCommandTest
Inheritance
System.ObjectSystem.Object
RelationalCommandTestRelationalCommandTest

Properties

CommandActions CommandActions

public static TheoryData CommandActions { get; }
Public Shared ReadOnly Property CommandActions As TheoryData
Value
TheoryData TheoryData

Methods

Can_ExecuteNonQuery() Can_ExecuteNonQuery()

public void Can_ExecuteNonQuery()
Public Sub Can_ExecuteNonQuery

Can_ExecuteNonQueryAsync() Can_ExecuteNonQueryAsync()

public virtual Task Can_ExecuteNonQueryAsync()
Public Overridable Function Can_ExecuteNonQueryAsync As Task
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Can_ExecuteReader() Can_ExecuteReader()

public void Can_ExecuteReader()
Public Sub Can_ExecuteReader

Can_ExecuteReaderAsync() Can_ExecuteReaderAsync()

public Task Can_ExecuteReaderAsync()
Public Function Can_ExecuteReaderAsync As Task
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Can_ExecuteScalar() Can_ExecuteScalar()

public void Can_ExecuteScalar()
Public Sub Can_ExecuteScalar

Can_ExecuteScalarAsync() Can_ExecuteScalarAsync()

public Task Can_ExecuteScalarAsync()
Public Function Can_ExecuteScalarAsync As Task
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Closes_managed_connections_on_exception(Delegate, String, Boolean) Closes_managed_connections_on_exception(Delegate, String, Boolean)

public Task Closes_managed_connections_on_exception(Delegate commandDelegate, string telemetryName, bool async)
Public Function Closes_managed_connections_on_exception(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Configures_DbCommand() Configures_DbCommand()

public void Configures_DbCommand()
Public Sub Configures_DbCommand

Configures_DbCommand_with_composite_parameters(Delegate, String, Boolean) Configures_DbCommand_with_composite_parameters(Delegate, String, Boolean)

public Task Configures_DbCommand_with_composite_parameters(Delegate commandDelegate, string telemetryName, bool async)
Public Function Configures_DbCommand_with_composite_parameters(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Configures_DbCommand_with_dynamic_parameters(Delegate, String, Boolean) Configures_DbCommand_with_dynamic_parameters(Delegate, String, Boolean)

public Task Configures_DbCommand_with_dynamic_parameters(Delegate commandDelegate, string telemetryName, bool async)
Public Function Configures_DbCommand_with_dynamic_parameters(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Configures_DbCommand_with_timeout() Configures_DbCommand_with_timeout()

public void Configures_DbCommand_with_timeout()
Public Sub Configures_DbCommand_with_timeout

Configures_DbCommand_with_transaction() Configures_DbCommand_with_transaction()

public void Configures_DbCommand_with_transaction()
Public Sub Configures_DbCommand_with_transaction

Configures_DbCommand_with_type_mapped_parameters(Delegate, String, Boolean) Configures_DbCommand_with_type_mapped_parameters(Delegate, String, Boolean)

public Task Configures_DbCommand_with_type_mapped_parameters(Delegate commandDelegate, string telemetryName, bool async)
Public Function Configures_DbCommand_with_type_mapped_parameters(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Disposes_command_on_exception(Delegate, String, Boolean) Disposes_command_on_exception(Delegate, String, Boolean)

public Task Disposes_command_on_exception(Delegate commandDelegate, string telemetryName, bool async)
Public Function Disposes_command_on_exception(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Does_not_close_unmanaged_connections_on_exception(Delegate, String, Boolean) Does_not_close_unmanaged_connections_on_exception(Delegate, String, Boolean)

public Task Does_not_close_unmanaged_connections_on_exception(Delegate commandDelegate, string telemetryName, bool async)
Public Function Does_not_close_unmanaged_connections_on_exception(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

Logs_commands_parameter_values(Delegate, String, Boolean) Logs_commands_parameter_values(Delegate, String, Boolean)

public Task Logs_commands_parameter_values(Delegate commandDelegate, string diagnosticName, bool async)
Public Function Logs_commands_parameter_values(commandDelegate As  Delegate, diagnosticName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
diagnosticName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Logs_commands_without_parameter_values(Delegate, String, Boolean) Logs_commands_without_parameter_values(Delegate, String, Boolean)

public Task Logs_commands_without_parameter_values(Delegate commandDelegate, string diagnosticName, bool async)
Public Function Logs_commands_without_parameter_values(commandDelegate As  Delegate, diagnosticName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
diagnosticName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

Reports_command_diagnostic(Delegate, String, Boolean) Reports_command_diagnostic(Delegate, String, Boolean)

public Task Reports_command_diagnostic(Delegate commandDelegate, string diagnosticName, bool async)
Public Function Reports_command_diagnostic(commandDelegate As  Delegate, diagnosticName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
diagnosticName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Reports_command_diagnostic_on_exception(Delegate, String, Boolean) Reports_command_diagnostic_on_exception(Delegate, String, Boolean)

public Task Reports_command_diagnostic_on_exception(Delegate commandDelegate, string diagnosticName, bool async)
Public Function Reports_command_diagnostic_on_exception(commandDelegate As  Delegate, diagnosticName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
diagnosticName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Throws_when_composite_parameters_are_configured_and_value_is_missing(Delegate, String, Boolean) Throws_when_composite_parameters_are_configured_and_value_is_missing(Delegate, String, Boolean)

public Task Throws_when_composite_parameters_are_configured_and_value_is_missing(Delegate commandDelegate, string telemetryName, bool async)
Public Function Throws_when_composite_parameters_are_configured_and_value_is_missing(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Throws_when_composite_parameters_are_configured_and_value_is_not_object_array(Delegate, String, Boolean) Throws_when_composite_parameters_are_configured_and_value_is_not_object_array(Delegate, String, Boolean)

public Task Throws_when_composite_parameters_are_configured_and_value_is_not_object_array(Delegate commandDelegate, string telemetryName, bool async)
Public Function Throws_when_composite_parameters_are_configured_and_value_is_not_object_array(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Throws_when_parameters_are_configured_and_parameter_values_is_null(Delegate, String, Boolean) Throws_when_parameters_are_configured_and_parameter_values_is_null(Delegate, String, Boolean)

public Task Throws_when_parameters_are_configured_and_parameter_values_is_null(Delegate commandDelegate, string telemetryName, bool async)
Public Function Throws_when_parameters_are_configured_and_parameter_values_is_null(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

Throws_when_parameters_are_configured_and_value_is_missing(Delegate, String, Boolean) Throws_when_parameters_are_configured_and_value_is_missing(Delegate, String, Boolean)

public Task Throws_when_parameters_are_configured_and_value_is_missing(Delegate commandDelegate, string telemetryName, bool async)
Public Function Throws_when_parameters_are_configured_and_value_is_missing(commandDelegate As  Delegate, telemetryName As String, async As Boolean) As Task
Parameters
commandDelegate
System.Delegate System.Delegate
telemetryName
System.String System.String
async
System.Boolean System.Boolean
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

ToString() ToString()

Inherited from System.Object