NonThrowingModelValidatorTest NonThrowingModelValidatorTest Class

Syntax

Declaration

public class NonThrowingModelValidatorTest : LoggingModelValidatorTestPublic Class NonThrowingModelValidatorTest
    Inherits LoggingModelValidatorTest

Inheritance Hierarchy

Inherited Members

Log,
Log,
VerifyWarning(String, IModel),
VerifyWarning(String, IModel),
Detects_shadow_entities(),
Detects_shadow_entities(),
Detects_shadow_keys(),
Detects_shadow_keys(),
Detects_shadow_keys_by_convention(),
Detects_shadow_keys_by_convention(),
Detects_shadow_key_referenced_by_foreign_key(),
Detects_shadow_key_referenced_by_foreign_key(),
Detects_shadow_key_referenced_by_foreign_key_by_convention(),
Detects_shadow_key_referenced_by_foreign_key_by_convention(),
Detects_a_null_primary_key(),
Detects_a_null_primary_key(),
Passes_on_escapable_foreign_key_cycles(),
Passes_on_escapable_foreign_key_cycles(),
Passes_on_escapable_foreign_key_cycles_not_starting_at_hub(),
Passes_on_escapable_foreign_key_cycles_not_starting_at_hub(),
Passes_on_foreign_key_cycle_with_one_GenerateOnAdd(),
Passes_on_foreign_key_cycle_with_one_GenerateOnAdd(),
Pases_on_double_reference_to_root_principal_property(),
Pases_on_double_reference_to_root_principal_property(),
Pases_on_diamond_path_to_root_principal_property(),
Pases_on_diamond_path_to_root_principal_property(),
Pases_on_correct_inheritance(),
Pases_on_correct_inheritance(),
Detects_base_type_not_set(),
Detects_base_type_not_set(),
Detects_abstract_leaf_type(),
Detects_abstract_leaf_type(),
Detects_generic_leaf_type(),
Detects_generic_leaf_type(),
Detects_non_notifying_entities(ChangeTrackingStrategy),
Detects_non_notifying_entities(ChangeTrackingStrategy),
Detects_changed_only_notifying_entities(ChangeTrackingStrategy),
Detects_changed_only_notifying_entities(ChangeTrackingStrategy),
Passes_for_fully_notifying_entities(ChangeTrackingStrategy),
Passes_for_fully_notifying_entities(ChangeTrackingStrategy),
Passes_for_changed_only_entities_with_snapshot_or_changed_only_tracking(ChangeTrackingStrategy),
Passes_for_changed_only_entities_with_snapshot_or_changed_only_tracking(ChangeTrackingStrategy),
Passes_for_non_notifying_entities_with_snapshot_tracking(),
Passes_for_non_notifying_entities_with_snapshot_tracking(),
SetBaseType(EntityType, EntityType),
SetBaseType(EntityType, EntityType),
CreateKey(EntityType, Int32, Int32),
CreateKey(EntityType, Int32, Int32),
SetPrimaryKey(EntityType),
SetPrimaryKey(EntityType),
CreateForeignKey(Key, Key),
CreateForeignKey(Key, Key),
CreateForeignKey(EntityType, IReadOnlyList<Property>, Key),
CreateForeignKey(EntityType, IReadOnlyList(Of Property), Key),
Validate(IModel),
Validate(IModel),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Methods

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

    Returns

  • 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

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll