UpdateSqlGeneratorTestBase UpdateSqlGeneratorTestBase Class

Definition

public abstract class UpdateSqlGeneratorTestBase
Public MustInherit Class UpdateSqlGeneratorTestBase
Inheritance
System.ObjectSystem.Object
UpdateSqlGeneratorTestBaseUpdateSqlGeneratorTestBase

Properties

CloseDelimeter CloseDelimeter

protected virtual string CloseDelimeter { get; }
Protected Overridable ReadOnly Property CloseDelimeter As String
Value
System.String System.String

Identity Identity

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

OpenDelimeter OpenDelimeter

protected virtual string OpenDelimeter { get; }
Protected Overridable ReadOnly Property OpenDelimeter As String
Value
System.String System.String

RowsAffected RowsAffected

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

Schema Schema

protected virtual string Schema { get; }
Protected Overridable ReadOnly Property Schema As String
Value
System.String System.String

SchemaPrefix SchemaPrefix

protected virtual string SchemaPrefix { get; }
Protected Overridable ReadOnly Property SchemaPrefix As String
Value
System.String System.String

Methods

AppendDeleteOperation_creates_full_delete_command_text() AppendDeleteOperation_creates_full_delete_command_text()

public void AppendDeleteOperation_creates_full_delete_command_text()
Public Sub AppendDeleteOperation_creates_full_delete_command_text

AppendDeleteOperation_creates_full_delete_command_text_with_concurrency_check() AppendDeleteOperation_creates_full_delete_command_text_with_concurrency_check()

public virtual void AppendDeleteOperation_creates_full_delete_command_text_with_concurrency_check()
Public Overridable Sub AppendDeleteOperation_creates_full_delete_command_text_with_concurrency_check

AppendInsertOperation_appends_insert_and_select_and_where_if_store_generated_columns_exist() AppendInsertOperation_appends_insert_and_select_and_where_if_store_generated_columns_exist()

public void AppendInsertOperation_appends_insert_and_select_and_where_if_store_generated_columns_exist()
Public Sub AppendInsertOperation_appends_insert_and_select_and_where_if_store_generated_columns_exist

AppendInsertOperation_appends_insert_and_select_and_where_if_store_generated_columns_exist_verification(StringBuilder) AppendInsertOperation_appends_insert_and_select_and_where_if_store_generated_columns_exist_verification(StringBuilder)

protected virtual void AppendInsertOperation_appends_insert_and_select_and_where_if_store_generated_columns_exist_verification(StringBuilder stringBuilder)
Protected Overridable Sub AppendInsertOperation_appends_insert_and_select_and_where_if_store_generated_columns_exist_verification(stringBuilder As StringBuilder)
Parameters
stringBuilder
System.Text.StringBuilder System.Text.StringBuilder

AppendInsertOperation_appends_insert_and_select_for_all_store_generated_columns() AppendInsertOperation_appends_insert_and_select_for_all_store_generated_columns()

public void AppendInsertOperation_appends_insert_and_select_for_all_store_generated_columns()
Public Sub AppendInsertOperation_appends_insert_and_select_for_all_store_generated_columns

AppendInsertOperation_appends_insert_and_select_for_all_store_generated_columns_verification(StringBuilder) AppendInsertOperation_appends_insert_and_select_for_all_store_generated_columns_verification(StringBuilder)

protected virtual void AppendInsertOperation_appends_insert_and_select_for_all_store_generated_columns_verification(StringBuilder stringBuilder)
Protected Overridable Sub AppendInsertOperation_appends_insert_and_select_for_all_store_generated_columns_verification(stringBuilder As StringBuilder)
Parameters
stringBuilder
System.Text.StringBuilder System.Text.StringBuilder

AppendInsertOperation_appends_insert_and_select_for_only_identity() AppendInsertOperation_appends_insert_and_select_for_only_identity()

public void AppendInsertOperation_appends_insert_and_select_for_only_identity()
Public Sub AppendInsertOperation_appends_insert_and_select_for_only_identity

AppendInsertOperation_appends_insert_and_select_for_only_identity_verification(StringBuilder) AppendInsertOperation_appends_insert_and_select_for_only_identity_verification(StringBuilder)

protected virtual void AppendInsertOperation_appends_insert_and_select_for_only_identity_verification(StringBuilder stringBuilder)
Protected Overridable Sub AppendInsertOperation_appends_insert_and_select_for_only_identity_verification(stringBuilder As StringBuilder)
Parameters
stringBuilder
System.Text.StringBuilder System.Text.StringBuilder

AppendInsertOperation_appends_insert_and_select_for_only_single_identity_columns() AppendInsertOperation_appends_insert_and_select_for_only_single_identity_columns()

public void AppendInsertOperation_appends_insert_and_select_for_only_single_identity_columns()
Public Sub AppendInsertOperation_appends_insert_and_select_for_only_single_identity_columns

AppendInsertOperation_appends_insert_and_select_for_only_single_identity_columns_verification(StringBuilder) AppendInsertOperation_appends_insert_and_select_for_only_single_identity_columns_verification(StringBuilder)

protected virtual void AppendInsertOperation_appends_insert_and_select_for_only_single_identity_columns_verification(StringBuilder stringBuilder)
Protected Overridable Sub AppendInsertOperation_appends_insert_and_select_for_only_single_identity_columns_verification(stringBuilder As StringBuilder)
Parameters
stringBuilder
System.Text.StringBuilder System.Text.StringBuilder

AppendInsertOperation_appends_insert_and_select_rowcount_if_no_store_generated_columns_exist_or_conditions_exist() AppendInsertOperation_appends_insert_and_select_rowcount_if_no_store_generated_columns_exist_or_conditions_exist()

public void AppendInsertOperation_appends_insert_and_select_rowcount_if_no_store_generated_columns_exist_or_conditions_exist()
Public Sub AppendInsertOperation_appends_insert_and_select_rowcount_if_no_store_generated_columns_exist_or_conditions_exist

AppendInsertOperation_appends_insert_and_select_store_generated_columns_but_no_identity() AppendInsertOperation_appends_insert_and_select_store_generated_columns_but_no_identity()

public void AppendInsertOperation_appends_insert_and_select_store_generated_columns_but_no_identity()
Public Sub AppendInsertOperation_appends_insert_and_select_store_generated_columns_but_no_identity

AppendInsertOperation_appends_insert_and_select_store_generated_columns_but_no_identity_verification(StringBuilder) AppendInsertOperation_appends_insert_and_select_store_generated_columns_but_no_identity_verification(StringBuilder)

protected virtual void AppendInsertOperation_appends_insert_and_select_store_generated_columns_but_no_identity_verification(StringBuilder stringBuilder)
Protected Overridable Sub AppendInsertOperation_appends_insert_and_select_store_generated_columns_but_no_identity_verification(stringBuilder As StringBuilder)
Parameters
stringBuilder
System.Text.StringBuilder System.Text.StringBuilder

AppendUpdateOperation_appends_select_for_computed_property() AppendUpdateOperation_appends_select_for_computed_property()

public void AppendUpdateOperation_appends_select_for_computed_property()
Public Sub AppendUpdateOperation_appends_select_for_computed_property

AppendUpdateOperation_appends_select_for_computed_property_verification(StringBuilder) AppendUpdateOperation_appends_select_for_computed_property_verification(StringBuilder)

protected virtual void AppendUpdateOperation_appends_select_for_computed_property_verification(StringBuilder stringBuilder)
Protected Overridable Sub AppendUpdateOperation_appends_select_for_computed_property_verification(stringBuilder As StringBuilder)
Parameters
stringBuilder
System.Text.StringBuilder System.Text.StringBuilder

AppendUpdateOperation_appends_update_and_select_if_store_generated_columns_exist() AppendUpdateOperation_appends_update_and_select_if_store_generated_columns_exist()

public void AppendUpdateOperation_appends_update_and_select_if_store_generated_columns_exist()
Public Sub AppendUpdateOperation_appends_update_and_select_if_store_generated_columns_exist

AppendUpdateOperation_appends_update_and_select_if_store_generated_columns_exist_verification(StringBuilder) AppendUpdateOperation_appends_update_and_select_if_store_generated_columns_exist_verification(StringBuilder)

protected virtual void AppendUpdateOperation_appends_update_and_select_if_store_generated_columns_exist_verification(StringBuilder stringBuilder)
Protected Overridable Sub AppendUpdateOperation_appends_update_and_select_if_store_generated_columns_exist_verification(stringBuilder As StringBuilder)
Parameters
stringBuilder
System.Text.StringBuilder System.Text.StringBuilder

AppendUpdateOperation_appends_update_and_select_rowcount_if_store_generated_columns_dont_exist() AppendUpdateOperation_appends_update_and_select_rowcount_if_store_generated_columns_dont_exist()

public void AppendUpdateOperation_appends_update_and_select_rowcount_if_store_generated_columns_dont_exist()
Public Sub AppendUpdateOperation_appends_update_and_select_rowcount_if_store_generated_columns_dont_exist

AppendUpdateOperation_appends_where_for_concurrency_token() AppendUpdateOperation_appends_where_for_concurrency_token()

public void AppendUpdateOperation_appends_where_for_concurrency_token()
Public Sub AppendUpdateOperation_appends_where_for_concurrency_token

CreateDeleteCommand(Boolean) CreateDeleteCommand(Boolean)

protected ModificationCommand CreateDeleteCommand(bool concurrencyToken = true)
Protected Function CreateDeleteCommand(concurrencyToken As Boolean = True) As ModificationCommand
Parameters
concurrencyToken
System.Boolean System.Boolean
Returns

CreateInsertCommand(Boolean, Boolean, Boolean) CreateInsertCommand(Boolean, Boolean, Boolean)

protected ModificationCommand CreateInsertCommand(bool identityKey = true, bool isComputed = true, bool defaultsOnly = false)
Protected Function CreateInsertCommand(identityKey As Boolean = True, isComputed As Boolean = True, defaultsOnly As Boolean = False) As ModificationCommand
Parameters
identityKey
System.Boolean System.Boolean
isComputed
System.Boolean System.Boolean
defaultsOnly
System.Boolean System.Boolean
Returns

CreateMockProperty(String, Type) CreateMockProperty(String, Type)

protected IProperty CreateMockProperty(string name, Type type)
Protected Function CreateMockProperty(name As String, type As Type) As IProperty
Parameters
name
System.String System.String
type
System.Type System.Type
Returns

CreateSqlGenerator() CreateSqlGenerator()

protected abstract IUpdateSqlGenerator CreateSqlGenerator()
Protected MustOverride Function CreateSqlGenerator As IUpdateSqlGenerator
Returns

CreateUpdateCommand(Boolean, Boolean) CreateUpdateCommand(Boolean, Boolean)

protected ModificationCommand CreateUpdateCommand(bool isComputed = true, bool concurrencyToken = true)
Protected Function CreateUpdateCommand(isComputed As Boolean = True, concurrencyToken As Boolean = True) As ModificationCommand
Parameters
isComputed
System.Boolean System.Boolean
concurrencyToken
System.Boolean System.Boolean
Returns

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GenerateNextSequenceValueOperation_correctly_handles_schemas() GenerateNextSequenceValueOperation_correctly_handles_schemas()

public virtual void GenerateNextSequenceValueOperation_correctly_handles_schemas()
Public Overridable Sub GenerateNextSequenceValueOperation_correctly_handles_schemas

GenerateNextSequenceValueOperation_returns_statement_with_sanatized_sequence() GenerateNextSequenceValueOperation_returns_statement_with_sanatized_sequence()

public virtual void GenerateNextSequenceValueOperation_returns_statement_with_sanatized_sequence()
Public Overridable Sub GenerateNextSequenceValueOperation_returns_statement_with_sanatized_sequence

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object