ModelBuilderTest.OneToOneTestBase ModelBuilderTest.OneToOneTestBase Class

Definition

public abstract class OneToOneTestBase : ModelBuilderTest.ModelBuilderTestBase
Public MustInherit Class OneToOneTestBase
    Inherits ModelBuilderTest.ModelBuilderTestBase
Inheritance
System.ObjectSystem.Object
ModelBuilderTest.OneToOneTestBaseModelBuilderTest.OneToOneTestBase

Methods

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_be_defined_before_the_PK_from_dependent() Can_be_defined_before_the_PK_from_dependent()
Can_be_defined_before_the_PK_from_principal() Can_be_defined_before_the_PK_from_principal()
Can_change_delete_behavior() Can_change_delete_behavior()
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_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_foreign_key_attribute_is_used() Can_create_one_to_one_relationship_if_foreign_key_attribute_is_used()
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_user_specify_foreign_key_property() Can_create_one_to_one_relationship_if_user_specify_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_two_FKs_using_the_same_property() Can_create_two_FKs_using_the_same_property()
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()
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_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()
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_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_alternate_principal_key() Can_use_alternate_principal_key()
Can_use_pk_as_fk_if_principal_end_is_specified() Can_use_pk_as_fk_if_principal_end_is_specified()
Can_use_PK_FK() Can_use_PK_FK()
Can_use_self_referencing_overlapping_FK_PK() Can_use_self_referencing_overlapping_FK_PK()
Configuring_FK_properties_as_PK_sets_DeleteBehavior_Cascade() Configuring_FK_properties_as_PK_sets_DeleteBehavior_Cascade()
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_new_FK_when_not_specified() Creates_both_navigations_and_creates_new_FK_when_not_specified()
Creates_both_navigations_and_new_FK() Creates_both_navigations_and_new_FK()
Creates_both_navigations_and_overrides_existing_FK_when_uniqueness_does_not_match() Creates_both_navigations_and_overrides_existing_FK_when_uniqueness_does_not_match()
Creates_both_navigations_and_removes_existing_FK_when_not_specified() Creates_both_navigations_and_removes_existing_FK_when_not_specified()
Creates_both_navigations_and_shadow_FK_if_existing_FK() Creates_both_navigations_and_shadow_FK_if_existing_FK()
Creates_both_navigations_and_specified_FK() Creates_both_navigations_and_specified_FK()
Creates_both_navigations_and_uses_existing_composite_FK() Creates_both_navigations_and_uses_existing_composite_FK()
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_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_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()
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()
Creates_FK_when_specified_on_dependent() Creates_FK_when_specified_on_dependent()
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_navigation_to_principal() Creates_FK_when_specified_on_dependent_with_navigation_to_principal()
Creates_FK_when_specified_on_dependent_with_no_navigations() Creates_FK_when_specified_on_dependent_with_no_navigations()
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_principal_with_navigation_to_principal() Creates_FK_when_specified_on_principal_with_navigation_to_principal()
Creates_FK_when_specified_on_principal_with_no_navigations() Creates_FK_when_specified_on_principal_with_no_navigations()
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()
Creates_principal_key_when_specified_on_dependent() Creates_principal_key_when_specified_on_dependent()
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_dependent_with_navigation_to_principal() Creates_principal_key_when_specified_on_dependent_with_navigation_to_principal()
Creates_principal_key_when_specified_on_dependent_with_no_navigations() Creates_principal_key_when_specified_on_dependent_with_no_navigations()
Creates_principal_key_when_specified_on_principal() Creates_principal_key_when_specified_on_principal()
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_principal_with_navigation_to_principal() Creates_principal_key_when_specified_on_principal_with_navigation_to_principal()
Creates_principal_key_when_specified_on_principal_with_no_navigations() Creates_principal_key_when_specified_on_principal_with_no_navigations()
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()
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_navigation_to_dependent_and_new_FK_from_principal() Creates_relationship_with_navigation_to_dependent_and_new_FK_from_principal()
Creates_relationship_with_no_navigations() Creates_relationship_with_no_navigations()
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_self_referencing_FK_with_navigation_to_dependent() Creates_self_referencing_FK_with_navigation_to_dependent()
Creates_self_referencing_FK_with_navigation_to_principal() Creates_self_referencing_FK_with_navigation_to_principal()
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()
CreateTestModelBuilder(ModelBuilder) CreateTestModelBuilder(ModelBuilder) Inherited from ModelBuilderTest.ModelBuilderTestBase
Does_not_create_index_if_covered_by_an_alternate_key() Does_not_create_index_if_covered_by_an_alternate_key()
Does_not_use_existing_FK_when_principal_key_specified() Does_not_use_existing_FK_when_principal_key_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()
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()
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()
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()
OneToOne_can_have_PK_explicitly_specified() OneToOne_can_have_PK_explicitly_specified()
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()
Overrides_FK_if_specified_PK_count_does_not_match_separetely() Overrides_FK_if_specified_PK_count_does_not_match_separetely()
Overrides_FK_if_specified_PK_types_do_not_match_separetely() Overrides_FK_if_specified_PK_types_do_not_match_separetely()
Overrides_PK_if_specified_FK_count_does_not_match_separetely() Overrides_PK_if_specified_FK_count_does_not_match_separetely()
Overrides_PK_if_specified_FK_types_do_not_match_separetely() Overrides_PK_if_specified_FK_types_do_not_match_separetely()
Principal_and_dependent_cannot_be_flipped_twice() Principal_and_dependent_cannot_be_flipped_twice()
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_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_twice_in_reverse_order_separetely() Principal_and_dependent_can_be_flipped_twice_in_reverse_order_separetely()
Principal_and_dependent_can_be_flipped_twice_separetely() Principal_and_dependent_can_be_flipped_twice_separetely()
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()
Principal_and_dependent_can_be_flipped_when_self_referencing() Principal_and_dependent_can_be_flipped_when_self_referencing()
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()
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()
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
Removes_existing_FK_when_specified() Removes_existing_FK_when_specified()
Removes_existing_unidirectional_many_to_one_relationship() Removes_existing_unidirectional_many_to_one_relationship()
Removes_existing_unidirectional_one_to_many_relationship() Removes_existing_unidirectional_one_to_many_relationship()
Replaces_existing_navigation_to_principal() Replaces_existing_navigation_to_principal()
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()
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_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_no_side_has_matching_property() Throws_for_one_to_one_relationship_if_no_side_has_matching_property()
Throws_if_multiple_navigations_are_pointing_to_same_foreign_key_property() Throws_if_multiple_navigations_are_pointing_to_same_foreign_key_property()
Throws_if_not_principal_or_dependent_specified() Throws_if_not_principal_or_dependent_specified()
Throws_if_specified_FK_count_does_not_match() Throws_if_specified_FK_count_does_not_match()
Throws_if_specified_FK_types_do_not_match() Throws_if_specified_FK_types_do_not_match()
Throws_if_specified_PK_count_does_not_match() Throws_if_specified_PK_count_does_not_match()
Throws_if_specified_PK_types_do_not_match() Throws_if_specified_PK_types_do_not_match()
Throws_on_duplicate_navigation_when_self_referencing() Throws_on_duplicate_navigation_when_self_referencing()
Throws_on_existing_many_to_one_relationship() Throws_on_existing_many_to_one_relationship()
Throws_on_existing_one_to_many_relationship() Throws_on_existing_one_to_many_relationship()
System.Object.ToString() System.Object.ToString() Inherited from System.Object
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()
Uses_composite_PK_for_FK_by_convention() Uses_composite_PK_for_FK_by_convention()