SqlExecutorTestBase<TFixture> SqlExecutorTestBase(Of TFixture) Class

Definition

public abstract class SqlExecutorTestBase<TFixture> : IClassFixture<TFixture> where TFixture : NorthwindQueryFixtureBase, new ()
Public MustInherit Class SqlExecutorTestBase(Of TFixture As {NorthwindQueryFixtureBase, New})
    Inherits IClassFixture(Of TFixture)
Type Parameters
TFixture
Inheritance
System.ObjectSystem.Object
SqlExecutorTestBase<TFixture>SqlExecutorTestBase(Of TFixture)

Constructors

SqlExecutorTestBase(TFixture) SqlExecutorTestBase(TFixture)

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

Properties

CustomerOrderHistorySproc CustomerOrderHistorySproc

protected abstract string CustomerOrderHistorySproc { get; }
Protected MustOverride ReadOnly Property CustomerOrderHistorySproc As String
Value
System.String System.String

CustomerOrderHistoryWithGeneratedParameterSproc CustomerOrderHistoryWithGeneratedParameterSproc

protected abstract string CustomerOrderHistoryWithGeneratedParameterSproc { get; }
Protected MustOverride ReadOnly Property CustomerOrderHistoryWithGeneratedParameterSproc As String
Value
System.String System.String

Fixture Fixture

protected TFixture Fixture { get; }
Protected ReadOnly Property Fixture As TFixture
Value
TFixture TFixture

TenMostExpensiveProductsSproc TenMostExpensiveProductsSproc

protected abstract string TenMostExpensiveProductsSproc { get; }
Protected MustOverride ReadOnly Property TenMostExpensiveProductsSproc As String
Value
System.String System.String

Methods

CreateContext() CreateContext()

protected NorthwindContext CreateContext()
Protected Function CreateContext As NorthwindContext
Returns

CreateDbParameter(String, Object) CreateDbParameter(String, Object)

protected abstract DbParameter CreateDbParameter(string name, object value)
Protected MustOverride Function CreateDbParameter(name As String, value As Object) As DbParameter
Parameters
name
System.String System.String
value
System.Object System.Object
Returns
System.Data.Common.DbParameter System.Data.Common.DbParameter

Executes_stored_procedure() Executes_stored_procedure()

public virtual void Executes_stored_procedure()
Public Overridable Sub Executes_stored_procedure

Executes_stored_procedure_async() Executes_stored_procedure_async()

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

Executes_stored_procedure_with_generated_parameter() Executes_stored_procedure_with_generated_parameter()

public virtual void Executes_stored_procedure_with_generated_parameter()
Public Overridable Sub Executes_stored_procedure_with_generated_parameter

Executes_stored_procedure_with_generated_parameter_async() Executes_stored_procedure_with_generated_parameter_async()

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

Executes_stored_procedure_with_parameter() Executes_stored_procedure_with_parameter()

public virtual void Executes_stored_procedure_with_parameter()
Public Overridable Sub Executes_stored_procedure_with_parameter

Executes_stored_procedure_with_parameter_async() Executes_stored_procedure_with_parameter_async()

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

Throws_on_concurrent_command() Throws_on_concurrent_command()

public virtual void Throws_on_concurrent_command()
Public Overridable Sub Throws_on_concurrent_command

Throws_on_concurrent_command_async() Throws_on_concurrent_command_async()

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