RelationalModelValidatorTest RelationalModelValidatorTest Class

Definition

public class RelationalModelValidatorTest : LoggingModelValidatorTest
Public Class RelationalModelValidatorTest
    Inherits LoggingModelValidatorTest
Inheritance
System.ObjectSystem.Object
RelationalModelValidatorTestRelationalModelValidatorTest

Methods

CreateForeignKey(EntityType, IReadOnlyList, Key) CreateForeignKey(EntityType, IReadOnlyList(Of Property), Key)

Inherited from ModelValidatorTest

CreateForeignKey(Key, Key) CreateForeignKey(Key, Key)

Inherited from ModelValidatorTest

CreateKey(EntityType, Int32, Int32) CreateKey(EntityType, Int32, Int32)

Inherited from ModelValidatorTest

CreateModelValidator() CreateModelValidator()

protected override ModelValidator CreateModelValidator()
Protected Overrides Function CreateModelValidator As ModelValidator
Returns
Overrides

Detects_a_null_primary_key() Detects_a_null_primary_key()

Inherited from ModelValidatorTest

Detects_abstract_leaf_type() Detects_abstract_leaf_type()

Inherited from ModelValidatorTest

Detects_alternate_key_with_default_value() Detects_alternate_key_with_default_value()

public virtual void Detects_alternate_key_with_default_value()
Public Overridable Sub Detects_alternate_key_with_default_value

Detects_base_type_not_set() Detects_base_type_not_set()

Inherited from ModelValidatorTest

Detects_changed_only_notifying_entities(ChangeTrackingStrategy) Detects_changed_only_notifying_entities(ChangeTrackingStrategy)

Inherited from ModelValidatorTest

Detects_duplicate_column_names() Detects_duplicate_column_names()

public virtual void Detects_duplicate_column_names()
Public Overridable Sub Detects_duplicate_column_names

Detects_duplicate_column_names_within_hierarchy_with_different_ComputedColumnSql() Detects_duplicate_column_names_within_hierarchy_with_different_ComputedColumnSql()

public virtual void Detects_duplicate_column_names_within_hierarchy_with_different_ComputedColumnSql()
Public Overridable Sub Detects_duplicate_column_names_within_hierarchy_with_different_ComputedColumnSql

Detects_duplicate_column_names_within_hierarchy_with_different_DefaultValue() Detects_duplicate_column_names_within_hierarchy_with_different_DefaultValue()

public virtual void Detects_duplicate_column_names_within_hierarchy_with_different_DefaultValue()
Public Overridable Sub Detects_duplicate_column_names_within_hierarchy_with_different_DefaultValue

Detects_duplicate_column_names_within_hierarchy_with_different_DefaultValueSql() Detects_duplicate_column_names_within_hierarchy_with_different_DefaultValueSql()

public virtual void Detects_duplicate_column_names_within_hierarchy_with_different_DefaultValueSql()
Public Overridable Sub Detects_duplicate_column_names_within_hierarchy_with_different_DefaultValueSql

Detects_duplicate_column_names_within_hierarchy_with_different_MaxLength() Detects_duplicate_column_names_within_hierarchy_with_different_MaxLength()

public virtual void Detects_duplicate_column_names_within_hierarchy_with_different_MaxLength()
Public Overridable Sub Detects_duplicate_column_names_within_hierarchy_with_different_MaxLength

Detects_duplicate_column_names_within_hierarchy_with_different_nullability() Detects_duplicate_column_names_within_hierarchy_with_different_nullability()

public virtual void Detects_duplicate_column_names_within_hierarchy_with_different_nullability()
Public Overridable Sub Detects_duplicate_column_names_within_hierarchy_with_different_nullability

Detects_duplicate_columns_in_derived_types_with_different_types() Detects_duplicate_columns_in_derived_types_with_different_types()

public virtual void Detects_duplicate_columns_in_derived_types_with_different_types()
Public Overridable Sub Detects_duplicate_columns_in_derived_types_with_different_types

Detects_duplicate_discriminator_values() Detects_duplicate_discriminator_values()

public virtual void Detects_duplicate_discriminator_values()
Public Overridable Sub Detects_duplicate_discriminator_values

Detects_duplicate_foreignKey_names_within_hierarchy_mapped_to_different_columns() Detects_duplicate_foreignKey_names_within_hierarchy_mapped_to_different_columns()

public virtual void Detects_duplicate_foreignKey_names_within_hierarchy_mapped_to_different_columns()
Public Overridable Sub Detects_duplicate_foreignKey_names_within_hierarchy_mapped_to_different_columns

Detects_duplicate_foreignKey_names_within_hierarchy_referencing_different_columns() Detects_duplicate_foreignKey_names_within_hierarchy_referencing_different_columns()

public virtual void Detects_duplicate_foreignKey_names_within_hierarchy_referencing_different_columns()
Public Overridable Sub Detects_duplicate_foreignKey_names_within_hierarchy_referencing_different_columns

Detects_duplicate_foreignKey_names_within_hierarchy_with_different_column_count() Detects_duplicate_foreignKey_names_within_hierarchy_with_different_column_count()

public virtual void Detects_duplicate_foreignKey_names_within_hierarchy_with_different_column_count()
Public Overridable Sub Detects_duplicate_foreignKey_names_within_hierarchy_with_different_column_count

Detects_duplicate_foreignKey_names_within_hierarchy_with_different_column_order() Detects_duplicate_foreignKey_names_within_hierarchy_with_different_column_order()

public virtual void Detects_duplicate_foreignKey_names_within_hierarchy_with_different_column_order()
Public Overridable Sub Detects_duplicate_foreignKey_names_within_hierarchy_with_different_column_order

Detects_duplicate_foreignKey_names_within_hierarchy_with_different_delete_behavior() Detects_duplicate_foreignKey_names_within_hierarchy_with_different_delete_behavior()

public virtual void Detects_duplicate_foreignKey_names_within_hierarchy_with_different_delete_behavior()
Public Overridable Sub Detects_duplicate_foreignKey_names_within_hierarchy_with_different_delete_behavior

Detects_duplicate_foreignKey_names_within_hierarchy_with_different_principal_tables() Detects_duplicate_foreignKey_names_within_hierarchy_with_different_principal_tables()

public virtual void Detects_duplicate_foreignKey_names_within_hierarchy_with_different_principal_tables()
Public Overridable Sub Detects_duplicate_foreignKey_names_within_hierarchy_with_different_principal_tables

Detects_duplicate_foreignKey_names_within_hierarchy_with_different_uniqueness() Detects_duplicate_foreignKey_names_within_hierarchy_with_different_uniqueness()

public virtual void Detects_duplicate_foreignKey_names_within_hierarchy_with_different_uniqueness()
Public Overridable Sub Detects_duplicate_foreignKey_names_within_hierarchy_with_different_uniqueness

Detects_duplicate_index_names_within_hierarchy_mapped_to_different_columns() Detects_duplicate_index_names_within_hierarchy_mapped_to_different_columns()

public virtual void Detects_duplicate_index_names_within_hierarchy_mapped_to_different_columns()
Public Overridable Sub Detects_duplicate_index_names_within_hierarchy_mapped_to_different_columns

Detects_duplicate_index_names_within_hierarchy_with_different_column_count() Detects_duplicate_index_names_within_hierarchy_with_different_column_count()

public virtual void Detects_duplicate_index_names_within_hierarchy_with_different_column_count()
Public Overridable Sub Detects_duplicate_index_names_within_hierarchy_with_different_column_count

Detects_duplicate_index_names_within_hierarchy_with_different_column_order() Detects_duplicate_index_names_within_hierarchy_with_different_column_order()

public virtual void Detects_duplicate_index_names_within_hierarchy_with_different_column_order()
Public Overridable Sub Detects_duplicate_index_names_within_hierarchy_with_different_column_order

Detects_duplicate_index_names_within_hierarchy_with_different_uniqueness() Detects_duplicate_index_names_within_hierarchy_with_different_uniqueness()

public virtual void Detects_duplicate_index_names_within_hierarchy_with_different_uniqueness()
Public Overridable Sub Detects_duplicate_index_names_within_hierarchy_with_different_uniqueness

Detects_duplicate_table_names() Detects_duplicate_table_names()

public virtual void Detects_duplicate_table_names()
Public Overridable Sub Detects_duplicate_table_names

Detects_duplicate_table_names_with_schema() Detects_duplicate_table_names_with_schema()

public virtual void Detects_duplicate_table_names_with_schema()
Public Overridable Sub Detects_duplicate_table_names_with_schema

Detects_generic_leaf_type() Detects_generic_leaf_type()

Inherited from ModelValidatorTest

Detects_missing_discriminator_property() Detects_missing_discriminator_property()

public virtual void Detects_missing_discriminator_property()
Public Overridable Sub Detects_missing_discriminator_property

Detects_missing_discriminator_value_on_base() Detects_missing_discriminator_value_on_base()

public virtual void Detects_missing_discriminator_value_on_base()
Public Overridable Sub Detects_missing_discriminator_value_on_base

Detects_missing_discriminator_value_on_leaf() Detects_missing_discriminator_value_on_leaf()

public virtual void Detects_missing_discriminator_value_on_leaf()
Public Overridable Sub Detects_missing_discriminator_value_on_leaf

Detects_missing_non_string_discriminator_values() Detects_missing_non_string_discriminator_values()

public virtual void Detects_missing_non_string_discriminator_values()
Public Overridable Sub Detects_missing_non_string_discriminator_values

Detects_non_notifying_entities(ChangeTrackingStrategy) Detects_non_notifying_entities(ChangeTrackingStrategy)

Inherited from ModelValidatorTest

Detects_primary_key_with_default_value() Detects_primary_key_with_default_value()

public virtual void Detects_primary_key_with_default_value()
Public Overridable Sub Detects_primary_key_with_default_value

Detects_shadow_entities() Detects_shadow_entities()

Inherited from ModelValidatorTest

Detects_shadow_key_referenced_by_foreign_key() Detects_shadow_key_referenced_by_foreign_key()

Inherited from ModelValidatorTest

Detects_shadow_key_referenced_by_foreign_key_by_convention() Detects_shadow_key_referenced_by_foreign_key_by_convention()

Inherited from ModelValidatorTest

Detects_shadow_keys() Detects_shadow_keys()

Inherited from ModelValidatorTest

Detects_shadow_keys_by_convention() Detects_shadow_keys_by_convention()

Inherited from ModelValidatorTest

Does_not_detect_duplicate_table_names_for_inherited_entities() Does_not_detect_duplicate_table_names_for_inherited_entities()

public virtual void Does_not_detect_duplicate_table_names_for_inherited_entities()
Public Overridable Sub Does_not_detect_duplicate_table_names_for_inherited_entities

Does_not_detect_duplicate_table_names_in_different_schema() Does_not_detect_duplicate_table_names_in_different_schema()

public virtual void Does_not_detect_duplicate_table_names_in_different_schema()
Public Overridable Sub Does_not_detect_duplicate_table_names_in_different_schema

Does_not_detect_missing_discriminator_value_for_abstract_class() Does_not_detect_missing_discriminator_value_for_abstract_class()

public virtual void Does_not_detect_missing_discriminator_value_for_abstract_class()
Public Overridable Sub Does_not_detect_missing_discriminator_value_for_abstract_class

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

Pases_on_correct_inheritance() Pases_on_correct_inheritance()

Inherited from ModelValidatorTest

Pases_on_diamond_path_to_root_principal_property() Pases_on_diamond_path_to_root_principal_property()

Inherited from ModelValidatorTest

Pases_on_double_reference_to_root_principal_property() Pases_on_double_reference_to_root_principal_property()

Inherited from ModelValidatorTest

Passes_for_changed_only_entities_with_snapshot_or_changed_only_tracking(ChangeTrackingStrategy) Passes_for_changed_only_entities_with_snapshot_or_changed_only_tracking(ChangeTrackingStrategy)

Inherited from ModelValidatorTest

Passes_for_compatible_duplicate_column_names_within_hierarchy() Passes_for_compatible_duplicate_column_names_within_hierarchy()

public virtual void Passes_for_compatible_duplicate_column_names_within_hierarchy()
Public Overridable Sub Passes_for_compatible_duplicate_column_names_within_hierarchy

Passes_for_compatible_duplicate_foreignKey_names_within_hierarchy() Passes_for_compatible_duplicate_foreignKey_names_within_hierarchy()

public virtual void Passes_for_compatible_duplicate_foreignKey_names_within_hierarchy()
Public Overridable Sub Passes_for_compatible_duplicate_foreignKey_names_within_hierarchy

Passes_for_compatible_duplicate_index_names_within_hierarchy() Passes_for_compatible_duplicate_index_names_within_hierarchy()

public virtual void Passes_for_compatible_duplicate_index_names_within_hierarchy()
Public Overridable Sub Passes_for_compatible_duplicate_index_names_within_hierarchy

Passes_for_fully_notifying_entities(ChangeTrackingStrategy) Passes_for_fully_notifying_entities(ChangeTrackingStrategy)

Inherited from ModelValidatorTest

Passes_for_non_hierarchical_model() Passes_for_non_hierarchical_model()

public virtual void Passes_for_non_hierarchical_model()
Public Overridable Sub Passes_for_non_hierarchical_model

Passes_for_non_notifying_entities_with_snapshot_tracking() Passes_for_non_notifying_entities_with_snapshot_tracking()

Inherited from ModelValidatorTest

Passes_on_escapable_foreign_key_cycles() Passes_on_escapable_foreign_key_cycles()

Inherited from ModelValidatorTest

Passes_on_escapable_foreign_key_cycles_not_starting_at_hub() Passes_on_escapable_foreign_key_cycles_not_starting_at_hub()

Inherited from ModelValidatorTest

Passes_on_foreign_key_cycle_with_one_GenerateOnAdd() Passes_on_foreign_key_cycle_with_one_GenerateOnAdd()

Inherited from ModelValidatorTest

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

Inherited from System.Object

SetBaseType(EntityType, EntityType) SetBaseType(EntityType, EntityType)

protected override void SetBaseType(EntityType entityType, EntityType baseEntityType)
Protected Overrides Sub SetBaseType(entityType As EntityType, baseEntityType As EntityType)
Parameters
entityType
EntityType EntityType
baseEntityType
EntityType EntityType
Overrides

SetPrimaryKey(EntityType) SetPrimaryKey(EntityType)

Inherited from ModelValidatorTest

ToString() ToString()

Inherited from System.Object

Validate(IModel) Validate(IModel)

Inherited from ModelValidatorTest

VerifyError(String, IModel) VerifyError(String, IModel)

Inherited from LoggingModelValidatorTest

VerifyWarning(String, IModel) VerifyWarning(String, IModel)

Inherited from LoggingModelValidatorTest

Properties

Log Log

Inherited from LoggingModelValidatorTest