ModelBuilderTest.ManyToOneTestBase Class (Microsoft.EntityFrameworkCore.Tests)




AssertEqual(IEnumerable<IForeignKey>, IEnumerable<IForeignKey>, ForeignKeyStrictComparer)
AssertEqual(IEnumerable(Of IForeignKey), IEnumerable(Of IForeignKey), ForeignKeyStrictComparer)


Inherited from ModelBuilderTest.ModelBuilderTestBase



AssertEqual(IEnumerable<IIndex>, IEnumerable<IIndex>, IndexComparer)
AssertEqual(IEnumerable(Of IIndex), IEnumerable(Of IIndex), IndexComparer)


Inherited from ModelBuilderTest.ModelBuilderTestBase



AssertEqual(IEnumerable<IKey>, IEnumerable<IKey>, KeyComparer)
AssertEqual(IEnumerable(Of IKey), IEnumerable(Of IKey), KeyComparer)


Inherited from ModelBuilderTest.ModelBuilderTestBase



AssertEqual(IEnumerable<INavigation>, IEnumerable<INavigation>, NavigationComparer)
AssertEqual(IEnumerable(Of INavigation), IEnumerable(Of INavigation), NavigationComparer)


Inherited from ModelBuilderTest.ModelBuilderTestBase



AssertEqual(IEnumerable<IProperty>, IEnumerable<IProperty>, PropertyComparer)
AssertEqual(IEnumerable(Of IProperty), IEnumerable(Of IProperty), PropertyComparer)


Inherited from ModelBuilderTest.ModelBuilderTestBase



AssertEqual(IEnumerable<String>, IEnumerable<String>, StringComparer)
AssertEqual(IEnumerable(Of String), IEnumerable(Of String), StringComparer)


Inherited from ModelBuilderTest.ModelBuilderTestBase



Can_add_annotations()
Can_add_annotations()



Can_change_delete_behavior()
Can_change_delete_behavior()



Can_have_both_convention_properties_specified()
Can_have_both_convention_properties_specified()



Can_have_both_convention_properties_specified_in_any_order()
Can_have_both_convention_properties_specified_in_any_order()



Can_have_FK_by_convention_specified_with_explicit_principal_key()
Can_have_FK_by_convention_specified_with_explicit_principal_key()



Can_have_FK_by_convention_specified_with_explicit_principal_key_in_any_order()
Can_have_FK_by_convention_specified_with_explicit_principal_key_in_any_order()



Can_have_principal_key_by_convention_specified_with_explicit_PK()
Can_have_principal_key_by_convention_specified_with_explicit_PK()



Can_have_principal_key_by_convention_specified_with_explicit_PK_in_any_order()
Can_have_principal_key_by_convention_specified_with_explicit_PK_in_any_order()



Can_set_foreign_key_property_when_matching_property_added()
Can_set_foreign_key_property_when_matching_property_added()



Can_use_alternate_composite_key()
Can_use_alternate_composite_key()



Can_use_alternate_composite_key_in_any_order()
Can_use_alternate_composite_key_in_any_order()



Can_use_explicitly_specified_PK()
Can_use_explicitly_specified_PK()



Can_use_non_PK_principal()
Can_use_non_PK_principal()



CreateModelBuilder()
CreateModelBuilder()


Inherited from ModelBuilderTest.ModelBuilderTestBase



Creates_both_navigations_and_creates_composite_FK_specified()
Creates_both_navigations_and_creates_composite_FK_specified()



Creates_both_navigations_and_creates_FK_specified()
Creates_both_navigations_and_creates_FK_specified()



Creates_both_navigations_and_creates_new_FK()
Creates_both_navigations_and_creates_new_FK()



Creates_both_navigations_and_creates_shadow_FK()
Creates_both_navigations_and_creates_shadow_FK()



Creates_both_navigations_and_does_not_use_existing_FK()
Creates_both_navigations_and_does_not_use_existing_FK()



Creates_both_navigations_and_finds_existing_composite_FK()
Creates_both_navigations_and_finds_existing_composite_FK()



Creates_both_navigations_and_matches_shadow_FK_by_convention()
Creates_both_navigations_and_matches_shadow_FK_by_convention()



Creates_both_navigations_and_overrides_existing_FK_if_uniqueness_does_not_match()
Creates_both_navigations_and_overrides_existing_FK_if_uniqueness_does_not_match()



Creates_both_navigations_and_uses_specified_FK_even_if_found_by_convention()
Creates_both_navigations_and_uses_specified_FK_even_if_found_by_convention()



Creates_both_navigations_with_existing_FK_not_found_by_convention()
Creates_both_navigations_with_existing_FK_not_found_by_convention()



Creates_relationship_on_existing_FK_is_using_different_principal_key()
Creates_relationship_on_existing_FK_is_using_different_principal_key()



Creates_relationship_on_existing_FK_is_using_different_principal_key_different_order()
Creates_relationship_on_existing_FK_is_using_different_principal_key_different_order()



Creates_relationship_with_navigation_to_dependent()
Creates_relationship_with_navigation_to_dependent()



Creates_relationship_with_navigation_to_principal()
Creates_relationship_with_navigation_to_principal()



Creates_relationship_with_no_navigations()
Creates_relationship_with_no_navigations()



Creates_relationship_with_no_navigations_and_specified_composite_FK()
Creates_relationship_with_no_navigations_and_specified_composite_FK()



Creates_relationship_with_no_navigations_and_specified_FK()
Creates_relationship_with_no_navigations_and_specified_FK()



Creates_shadow_FK_property_with_non_shadow_PK()
Creates_shadow_FK_property_with_non_shadow_PK()



Creates_shadow_FK_property_with_shadow_PK()
Creates_shadow_FK_property_with_shadow_PK()



Creates_shadow_FK_with_navigation_to_dependent()
Creates_shadow_FK_with_navigation_to_dependent()



Creates_shadow_FK_with_navigation_to_principal()
Creates_shadow_FK_with_navigation_to_principal()



Creates_shadow_FK_with_no_navigations_with()
Creates_shadow_FK_with_no_navigations_with()



Creates_shadow_property_for_foreign_key_according_to_navigation_to_principal_name_when_present()
Creates_shadow_property_for_foreign_key_according_to_navigation_to_principal_name_when_present()



Creates_shadow_property_for_foreign_key_according_to_target_type_when_navigation_to_principal_name_not_present()
Creates_shadow_property_for_foreign_key_according_to_target_type_when_navigation_to_principal_name_not_present()



Creates_specified_composite_FK_with_navigation_to_dependent()
Creates_specified_composite_FK_with_navigation_to_dependent()



Creates_specified_composite_FK_with_navigation_to_principal()
Creates_specified_composite_FK_with_navigation_to_principal()



Creates_specified_FK_with_navigation_to_dependent()
Creates_specified_FK_with_navigation_to_dependent()



Creates_specified_FK_with_navigation_to_principal()
Creates_specified_FK_with_navigation_to_principal()



CreateTestModelBuilder(ModelBuilder)
CreateTestModelBuilder(ModelBuilder)


Inherited from ModelBuilderTest.ModelBuilderTestBase



System.Object.Equals(System.Object)
System.Object.Equals(System.Object)


Inherited from System.Object



System.Object.Equals(System.Object, System.Object)
System.Object.Equals(System.Object, System.Object)


Inherited from System.Object



Finds_existing_navigations_and_uses_associated_FK()
Finds_existing_navigations_and_uses_associated_FK()



Finds_existing_navigation_to_dependent_and_uses_associated_FK()
Finds_existing_navigation_to_dependent_and_uses_associated_FK()



Finds_existing_navigation_to_principal_and_uses_associated_FK()
Finds_existing_navigation_to_principal_and_uses_associated_FK()



System.Object.GetHashCode()
System.Object.GetHashCode()


Inherited from System.Object



System.Object.GetType()
System.Object.GetType()


Inherited from System.Object



Handles_identity_correctly_while_removing_navigation()
Handles_identity_correctly_while_removing_navigation()



HobNobBuilder()
HobNobBuilder()


Inherited from ModelBuilderTest.ModelBuilderTestBase



System.Object.MemberwiseClone()
System.Object.MemberwiseClone()


Inherited from System.Object



Non_nullable_FK_are_required_by_default()
Non_nullable_FK_are_required_by_default()



Non_nullable_FK_cannot_be_made_optional()
Non_nullable_FK_cannot_be_made_optional()



Non_nullable_FK_can_be_made_optional_separetely()
Non_nullable_FK_can_be_made_optional_separetely()



Nullable_FK_are_optional_by_default()
Nullable_FK_are_optional_by_default()



Nullable_FK_can_be_made_required()
Nullable_FK_can_be_made_required()



One_to_many_relationship_has_no_ambiguity_explicit()
One_to_many_relationship_has_no_ambiguity_explicit()



System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)


Inherited from System.Object



Removes_existing_unidirectional_one_to_one_relationship()
Removes_existing_unidirectional_one_to_one_relationship()



Throws_on_existing_one_to_one_relationship()
Throws_on_existing_one_to_one_relationship()



System.Object.ToString()
System.Object.ToString()


Inherited from System.Object




source_link
https://www.asp.net