ThrowingModelValidatorTest ThrowingModelValidatorTest Class

Definition

public class ThrowingModelValidatorTest : ModelValidatorTest
Public Class ThrowingModelValidatorTest
    Inherits ModelValidatorTest
Inheritance
System.ObjectSystem.Object
ThrowingModelValidatorTestThrowingModelValidatorTest

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_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_generic_leaf_type() Detects_generic_leaf_type()

Inherited from ModelValidatorTest

Detects_non_notifying_entities(ChangeTrackingStrategy) Detects_non_notifying_entities(ChangeTrackingStrategy)

Inherited from ModelValidatorTest

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

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_fully_notifying_entities(ChangeTrackingStrategy) Passes_for_fully_notifying_entities(ChangeTrackingStrategy)

Inherited from ModelValidatorTest

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)

Inherited from ModelValidatorTest

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)

protected override void VerifyError(string expectedMessage, IModel model)
Protected Overrides Sub VerifyError(expectedMessage As String, model As IModel)
Parameters
expectedMessage
System.String System.String
model
IModel IModel
Overrides

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

protected override void VerifyWarning(string expectedMessage, IModel model)
Protected Overrides Sub VerifyWarning(expectedMessage As String, model As IModel)
Parameters
expectedMessage
System.String System.String
model
IModel IModel
Overrides