ModelBuilderNonGenericTest.NonGenericOneToOne ModelBuilderNonGenericTest.NonGenericOneToOne Class

Syntax

Declaration

public class NonGenericOneToOne : ModelBuilderTest.OneToOneTestBasePublic Class NonGenericOneToOne
    Inherits ModelBuilderTest.OneToOneTestBase

Inheritance Hierarchy

Inherited Members

Finds_existing_navigations_and_uses_associated_FK(),
Finds_existing_navigations_and_uses_associated_FK(),
Can_create_two_FKs_using_the_same_property(),
Can_create_two_FKs_using_the_same_property(),
Replaces_existing_navigation_to_principal(),
Replaces_existing_navigation_to_principal(),
Finds_existing_navigation_to_dependent_and_uses_associated_FK(),
Finds_existing_navigation_to_dependent_and_uses_associated_FK(),
Creates_both_navigations_and_shadow_FK_if_existing_FK(),
Creates_both_navigations_and_shadow_FK_if_existing_FK(),
Creates_both_navigations_and_new_FK(),
Creates_both_navigations_and_new_FK(),
Creates_both_navigations_and_removes_existing_FK_when_not_specified(),
Creates_both_navigations_and_removes_existing_FK_when_not_specified(),
Creates_both_navigations_and_creates_new_FK_when_not_specified(),
Creates_both_navigations_and_creates_new_FK_when_not_specified(),
Creates_relationship_with_navigation_to_dependent_and_new_FK_from_principal(),
Creates_relationship_with_navigation_to_dependent_and_new_FK_from_principal(),
Creates_relationship_with_navigation_to_dependent_and_new_FK_from_dependent(),
Creates_relationship_with_navigation_to_dependent_and_new_FK_from_dependent(),
Creates_relationship_with_no_navigations(),
Creates_relationship_with_no_navigations(),
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_and_uses_specified_FK_even_if_PK(),
Creates_both_navigations_and_uses_specified_FK_even_if_PK(),
Creates_both_navigations_and_uses_existing_FK_not_found_by_convention(),
Creates_both_navigations_and_uses_existing_FK_not_found_by_convention(),
Creates_both_navigations_and_specified_FK(),
Creates_both_navigations_and_specified_FK(),
Creates_relationship_with_specified_FK_with_navigation_to_dependent(),
Creates_relationship_with_specified_FK_with_navigation_to_dependent(),
Creates_relationship_with_specified_FK_with_navigation_to_principal(),
Creates_relationship_with_specified_FK_with_navigation_to_principal(),
Creates_relationship_with_specified_FK_with_no_navigations(),
Creates_relationship_with_specified_FK_with_no_navigations(),
Creates_both_navigations_and_overrides_existing_FK_when_uniqueness_does_not_match(),
Creates_both_navigations_and_overrides_existing_FK_when_uniqueness_does_not_match(),
Removes_existing_FK_when_specified(),
Removes_existing_FK_when_specified(),
Creates_FK_when_specified_on_dependent(),
Creates_FK_when_specified_on_dependent(),
Creates_FK_when_specified_on_principal(),
Creates_FK_when_specified_on_principal(),
Creates_FK_when_specified_on_principal_with_navigation_to_dependent(),
Creates_FK_when_specified_on_principal_with_navigation_to_dependent(),
Creates_FK_when_specified_on_dependent_with_navigation_to_principal(),
Creates_FK_when_specified_on_dependent_with_navigation_to_principal(),
Creates_FK_when_specified_on_principal_with_navigation_to_principal(),
Creates_FK_when_specified_on_principal_with_navigation_to_principal(),
Creates_FK_when_specified_on_dependent_with_navigation_to_dependent(),
Creates_FK_when_specified_on_dependent_with_navigation_to_dependent(),
Creates_FK_when_specified_on_dependent_with_no_navigations(),
Creates_FK_when_specified_on_dependent_with_no_navigations(),
Creates_FK_when_specified_on_principal_with_no_navigations(),
Creates_FK_when_specified_on_principal_with_no_navigations(),
Can_use_PK_FK(),
Can_use_PK_FK(),
OneToOne_can_have_PK_explicitly_specified(),
OneToOne_can_have_PK_explicitly_specified(),
Can_use_alternate_principal_key(),
Can_use_alternate_principal_key(),
Can_have_both_keys_specified_explicitly(),
Can_have_both_keys_specified_explicitly(),
Can_have_both_keys_specified_explicitly_in_any_order(),
Can_have_both_keys_specified_explicitly_in_any_order(),
Can_have_both_alternate_keys_specified_explicitly(),
Can_have_both_alternate_keys_specified_explicitly(),
Can_have_both_alternate_keys_specified_explicitly_in_any_order(),
Can_have_both_alternate_keys_specified_explicitly_in_any_order(),
Does_not_use_existing_FK_when_principal_key_specified(),
Does_not_use_existing_FK_when_principal_key_specified(),
Creates_principal_key_when_specified_on_dependent(),
Creates_principal_key_when_specified_on_dependent(),
Creates_principal_key_when_specified_on_principal(),
Creates_principal_key_when_specified_on_principal(),
Creates_FK_when_principal_and_foreign_key_specified_on_dependent(),
Creates_FK_when_principal_and_foreign_key_specified_on_dependent(),
Creates_FK_when_principal_and_foreign_key_specified_on_dependent_in_reverse_order(),
Creates_FK_when_principal_and_foreign_key_specified_on_dependent_in_reverse_order(),
Creates_FK_when_principal_and_foreign_key_specified_on_principal(),
Creates_FK_when_principal_and_foreign_key_specified_on_principal(),
Principal_and_dependent_cannot_be_flipped_twice(),
Principal_and_dependent_cannot_be_flipped_twice(),
Principal_and_dependent_can_be_flipped_twice_separetely(),
Principal_and_dependent_can_be_flipped_twice_separetely(),
Principal_and_dependent_cannot_be_flipped_twice_in_reverse_order(),
Principal_and_dependent_cannot_be_flipped_twice_in_reverse_order(),
Principal_and_dependent_can_be_flipped_twice_in_reverse_order_separetely(),
Principal_and_dependent_can_be_flipped_twice_in_reverse_order_separetely(),
Throws_if_not_principal_or_dependent_specified(),
Throws_if_not_principal_or_dependent_specified(),
Creates_principal_key_when_specified_on_principal_with_navigation_to_dependent(),
Creates_principal_key_when_specified_on_principal_with_navigation_to_dependent(),
Creates_principal_key_when_specified_on_dependent_with_navigation_to_principal(),
Creates_principal_key_when_specified_on_dependent_with_navigation_to_principal(),
Creates_principal_key_when_specified_on_principal_with_navigation_to_principal(),
Creates_principal_key_when_specified_on_principal_with_navigation_to_principal(),
Creates_principal_key_when_specified_on_dependent_with_navigation_to_dependent(),
Creates_principal_key_when_specified_on_dependent_with_navigation_to_dependent(),
Creates_principal_key_when_specified_on_principal_with_no_navigations(),
Creates_principal_key_when_specified_on_principal_with_no_navigations(),
Creates_principal_key_when_specified_on_dependent_with_no_navigations(),
Creates_principal_key_when_specified_on_dependent_with_no_navigations(),
Creates_both_navigations_and_uses_existing_composite_FK(),
Creates_both_navigations_and_uses_existing_composite_FK(),
Creates_both_navigations_and_creates_composite_FK_specified(),
Creates_both_navigations_and_creates_composite_FK_specified(),
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(),
Uses_composite_PK_for_FK_by_convention(),
Uses_composite_PK_for_FK_by_convention(),
Principal_and_dependent_can_be_flipped_and_composite_PK_is_still_used_by_convention(),
Principal_and_dependent_can_be_flipped_and_composite_PK_is_still_used_by_convention(),
Principal_and_dependent_can_be_flipped_using_principal_and_composite_PK_is_still_used_by_convention(),
Principal_and_dependent_can_be_flipped_using_principal_and_composite_PK_is_still_used_by_convention(),
Creates_composite_FK_when_specified_on_principal_with_navigation_to_dependent(),
Creates_composite_FK_when_specified_on_principal_with_navigation_to_dependent(),
Creates_composite_FK_when_specified_on_principal_with_navigation_to_principal(),
Creates_composite_FK_when_specified_on_principal_with_navigation_to_principal(),
Creates_composite_FK_when_specified_on_principal_with_no_navigations(),
Creates_composite_FK_when_specified_on_principal_with_no_navigations(),
Principal_and_dependent_can_be_flipped_when_self_referencing(),
Principal_and_dependent_can_be_flipped_when_self_referencing(),
Creates_self_referencing_FK_with_navigation_to_principal(),
Creates_self_referencing_FK_with_navigation_to_principal(),
Creates_self_referencing_FK_with_navigation_to_dependent(),
Creates_self_referencing_FK_with_navigation_to_dependent(),
Principal_and_dependent_can_be_flipped_when_self_referencing_with_navigation_to_principal(),
Principal_and_dependent_can_be_flipped_when_self_referencing_with_navigation_to_principal(),
Principal_and_dependent_can_be_flipped_when_self_referencing_with_navigation_to_dependent(),
Principal_and_dependent_can_be_flipped_when_self_referencing_with_navigation_to_dependent(),
Throws_on_duplicate_navigation_when_self_referencing(),
Throws_on_duplicate_navigation_when_self_referencing(),
Throws_if_specified_FK_types_do_not_match(),
Throws_if_specified_FK_types_do_not_match(),
Overrides_PK_if_specified_FK_types_do_not_match_separetely(),
Overrides_PK_if_specified_FK_types_do_not_match_separetely(),
Throws_if_specified_PK_types_do_not_match(),
Throws_if_specified_PK_types_do_not_match(),
Overrides_FK_if_specified_PK_types_do_not_match_separetely(),
Overrides_FK_if_specified_PK_types_do_not_match_separetely(),
Throws_if_specified_FK_count_does_not_match(),
Throws_if_specified_FK_count_does_not_match(),
Overrides_PK_if_specified_FK_count_does_not_match_separetely(),
Overrides_PK_if_specified_FK_count_does_not_match_separetely(),
Throws_if_specified_PK_count_does_not_match(),
Throws_if_specified_PK_count_does_not_match(),
Overrides_FK_if_specified_PK_count_does_not_match_separetely(),
Overrides_FK_if_specified_PK_count_does_not_match_separetely(),
Foreign_key_properties_are_not_discovered_for_one_to_one_relationship_with_ambiguous_principal_end(),
Foreign_key_properties_are_not_discovered_for_one_to_one_relationship_with_ambiguous_principal_end(),
Creates_relationship_on_existing_FK_if_using_different_principal_key(),
Creates_relationship_on_existing_FK_if_using_different_principal_key(),
Creates_relationship_on_existing_FK_if_using_different_principal_key_different_order(),
Creates_relationship_on_existing_FK_if_using_different_principal_key_different_order(),
Does_not_create_index_if_covered_by_an_alternate_key(),
Does_not_create_index_if_covered_by_an_alternate_key(),
Throws_on_existing_many_to_one_relationship(),
Throws_on_existing_many_to_one_relationship(),
Removes_existing_unidirectional_many_to_one_relationship(),
Removes_existing_unidirectional_many_to_one_relationship(),
Throws_on_existing_one_to_many_relationship(),
Throws_on_existing_one_to_many_relationship(),
Removes_existing_unidirectional_one_to_many_relationship(),
Removes_existing_unidirectional_one_to_many_relationship(),
Can_add_annotations(),
Can_add_annotations(),
Nullable_FK_are_optional_by_default(),
Nullable_FK_are_optional_by_default(),
Non_nullable_FK_are_required_by_default(),
Non_nullable_FK_are_required_by_default(),
Nullable_FK_can_be_made_required(),
Nullable_FK_can_be_made_required(),
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(),
Optional_FK_cannot_be_made_non_nullable(),
Optional_FK_cannot_be_made_non_nullable(),
Optional_FK_can_be_made_non_nullable_separetely(),
Optional_FK_can_be_made_non_nullable_separetely(),
Unspecified_FK_can_be_made_optional(),
Unspecified_FK_can_be_made_optional(),
Unspecified_FK_can_be_made_optional_in_any_order(),
Unspecified_FK_can_be_made_optional_in_any_order(),
Unspecified_FK_can_be_made_required(),
Unspecified_FK_can_be_made_required(),
Can_be_defined_before_the_PK_from_principal(),
Can_be_defined_before_the_PK_from_principal(),
Can_be_defined_before_the_PK_from_dependent(),
Can_be_defined_before_the_PK_from_dependent(),
Can_change_delete_behavior(),
Can_change_delete_behavior(),
Configuring_FK_properties_as_PK_sets_DeleteBehavior_Cascade(),
Configuring_FK_properties_as_PK_sets_DeleteBehavior_Cascade(),
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(),
Handles_identity_correctly_while_removing_navigation(),
Handles_identity_correctly_while_removing_navigation(),
Throws_if_multiple_navigations_are_pointing_to_same_foreign_key_property(),
Throws_if_multiple_navigations_are_pointing_to_same_foreign_key_property(),
Can_create_one_to_one_self_referencing_relationship_without_navigations(),
Can_create_one_to_one_self_referencing_relationship_without_navigations(),
Can_create_one_to_one_relationship_if_dependent_has_matching_property_with_navigation_name(),
Can_create_one_to_one_relationship_if_dependent_has_matching_property_with_navigation_name(),
Can_create_one_to_one_relationship_if_dependent_has_matching_property_with_entity_type_name(),
Can_create_one_to_one_relationship_if_dependent_has_matching_property_with_entity_type_name(),
Can_invert_one_to_one_relationship_if_principal_has_matching_property_with_navigation_name(),
Can_invert_one_to_one_relationship_if_principal_has_matching_property_with_navigation_name(),
Can_invert_one_to_one_relationship_if_principal_has_matching_property_with_entity_type_name(),
Can_invert_one_to_one_relationship_if_principal_has_matching_property_with_entity_type_name(),
Throws_for_one_to_one_relationship_if_no_side_has_matching_property(),
Throws_for_one_to_one_relationship_if_no_side_has_matching_property(),
Throws_for_one_to_one_relationship_if_both_sides_have_matching_property_with_navigation_name(),
Throws_for_one_to_one_relationship_if_both_sides_have_matching_property_with_navigation_name(),
Throws_for_one_to_one_relationship_if_both_sides_have_matching_property_with_entity_type_name(),
Throws_for_one_to_one_relationship_if_both_sides_have_matching_property_with_entity_type_name(),
Throws_for_one_to_one_relationship_if_both_sides_have_matching_property_mixed(),
Throws_for_one_to_one_relationship_if_both_sides_have_matching_property_mixed(),
Can_create_one_to_one_relationship_if_user_specify_foreign_key_property(),
Can_create_one_to_one_relationship_if_user_specify_foreign_key_property(),
Can_create_one_to_one_relationship_if_user_specifies_principal_key_property(),
Can_create_one_to_one_relationship_if_user_specifies_principal_key_property(),
Can_create_one_to_one_relationship_if_foreign_key_attribute_is_used(),
Can_create_one_to_one_relationship_if_foreign_key_attribute_is_used(),
Can_use_pk_as_fk_if_principal_end_is_specified(),
Can_use_pk_as_fk_if_principal_end_is_specified(),
Does_not_use_pk_as_fk_if_principal_end_is_not_specified(),
Does_not_use_pk_as_fk_if_principal_end_is_not_specified(),
Creates_one_to_one_relationship_with_single_ref_as_principal_to_dependent_if_matching_properties_are_on_the_other_side(),
Creates_one_to_one_relationship_with_single_ref_as_principal_to_dependent_if_matching_properties_are_on_the_other_side(),
Can_use_self_referencing_overlapping_FK_PK(),
Can_use_self_referencing_overlapping_FK_PK(),
AssertEqual(IEnumerable<String>, IEnumerable<String>, StringComparer),
AssertEqual(IEnumerable(Of String), IEnumerable(Of String), StringComparer),
AssertEqual(IEnumerable<IProperty>, IEnumerable<IProperty>, PropertyComparer),
AssertEqual(IEnumerable(Of IProperty), IEnumerable(Of IProperty), PropertyComparer),
AssertEqual(IEnumerable<INavigation>, IEnumerable<INavigation>, NavigationComparer),
AssertEqual(IEnumerable(Of INavigation), IEnumerable(Of INavigation), NavigationComparer),
AssertEqual(IEnumerable<IKey>, IEnumerable<IKey>, KeyComparer),
AssertEqual(IEnumerable(Of IKey), IEnumerable(Of IKey), KeyComparer),
AssertEqual(IEnumerable<IForeignKey>, IEnumerable<IForeignKey>, ForeignKeyStrictComparer),
AssertEqual(IEnumerable(Of IForeignKey), IEnumerable(Of IForeignKey), ForeignKeyStrictComparer),
AssertEqual(IEnumerable<IIndex>, IEnumerable<IIndex>, IndexComparer),
AssertEqual(IEnumerable(Of IIndex), IEnumerable(Of IIndex), IndexComparer),
CreateModelBuilder(),
CreateModelBuilder(),
HobNobBuilder(),
HobNobBuilder(),
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

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll