ModelBuilderTest.OneToManyTestBase ModelBuilderTest.OneToManyTestBase Class

Definition

public abstract class OneToManyTestBase : ModelBuilderTest.ModelBuilderTestBase
Public MustInherit Class OneToManyTestBase
    Inherits ModelBuilderTest.ModelBuilderTestBase
Inheritance
System.ObjectSystem.Object
ModelBuilderTest.OneToManyTestBaseModelBuilderTest.OneToManyTestBase

Methods

Ambiguous_relationship_candidate_does_not_block_creating_further_relationships() Ambiguous_relationship_candidate_does_not_block_creating_further_relationships()

public virtual void Ambiguous_relationship_candidate_does_not_block_creating_further_relationships()
Public Overridable Sub Ambiguous_relationship_candidate_does_not_block_creating_further_relationships

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

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

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

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

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

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

Can_add_annotations() Can_add_annotations()

public virtual void Can_add_annotations()
Public Overridable Sub Can_add_annotations

Can_change_delete_behavior() Can_change_delete_behavior()

public virtual void Can_change_delete_behavior()
Public Overridable Sub Can_change_delete_behavior

Can_exclude_navigation_pointed_by_foreign_key_attribute_from_explicit_configuration() Can_exclude_navigation_pointed_by_foreign_key_attribute_from_explicit_configuration()

public virtual void Can_exclude_navigation_pointed_by_foreign_key_attribute_from_explicit_configuration()
Public Overridable Sub Can_exclude_navigation_pointed_by_foreign_key_attribute_from_explicit_configuration

Can_exclude_navigation_with_foreign_key_attribute_from_explicit_configuration() Can_exclude_navigation_with_foreign_key_attribute_from_explicit_configuration()

public virtual void Can_exclude_navigation_with_foreign_key_attribute_from_explicit_configuration()
Public Overridable Sub Can_exclude_navigation_with_foreign_key_attribute_from_explicit_configuration

Can_exclude_navigation_with_foreign_key_attribute_on_principal_type_from_explicit_configuration() Can_exclude_navigation_with_foreign_key_attribute_on_principal_type_from_explicit_configuration()

public virtual void Can_exclude_navigation_with_foreign_key_attribute_on_principal_type_from_explicit_configuration()
Public Overridable Sub Can_exclude_navigation_with_foreign_key_attribute_on_principal_type_from_explicit_configuration

Can_have_FK_by_convention_specified_with_explicit_principal_key() Can_have_FK_by_convention_specified_with_explicit_principal_key()

public virtual void Can_have_FK_by_convention_specified_with_explicit_principal_key()
Public Overridable Sub 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()

public virtual void Can_have_FK_by_convention_specified_with_explicit_principal_key_in_any_order()
Public Overridable Sub Can_have_FK_by_convention_specified_with_explicit_principal_key_in_any_order

Can_have_both_convention_properties_specified() Can_have_both_convention_properties_specified()

public virtual void Can_have_both_convention_properties_specified()
Public Overridable Sub Can_have_both_convention_properties_specified

Can_have_both_convention_properties_specified_in_any_order() Can_have_both_convention_properties_specified_in_any_order()

public virtual void Can_have_both_convention_properties_specified_in_any_order()
Public Overridable Sub Can_have_both_convention_properties_specified_in_any_order

Can_have_principal_key_by_convention_replaced_with_primary_key() Can_have_principal_key_by_convention_replaced_with_primary_key()

public virtual void Can_have_principal_key_by_convention_replaced_with_primary_key()
Public Overridable Sub Can_have_principal_key_by_convention_replaced_with_primary_key

Can_have_principal_key_by_convention_specified_with_explicit_PK() Can_have_principal_key_by_convention_specified_with_explicit_PK()

public virtual void Can_have_principal_key_by_convention_specified_with_explicit_PK()
Public Overridable Sub 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()

public virtual void Can_have_principal_key_by_convention_specified_with_explicit_PK_in_any_order()
Public Overridable Sub 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()

public virtual void Can_set_foreign_key_property_when_matching_property_added()
Public Overridable Sub Can_set_foreign_key_property_when_matching_property_added

Can_use_alternate_composite_key() Can_use_alternate_composite_key()

public virtual void Can_use_alternate_composite_key()
Public Overridable Sub Can_use_alternate_composite_key

Can_use_alternate_composite_key_in_any_order() Can_use_alternate_composite_key_in_any_order()

public virtual void Can_use_alternate_composite_key_in_any_order()
Public Overridable Sub Can_use_alternate_composite_key_in_any_order

Can_use_explicitly_specified_PK() Can_use_explicitly_specified_PK()

public virtual void Can_use_explicitly_specified_PK()
Public Overridable Sub Can_use_explicitly_specified_PK

Can_use_non_PK_principal() Can_use_non_PK_principal()

public virtual void Can_use_non_PK_principal()
Public Overridable Sub Can_use_non_PK_principal

Can_use_self_referencing_overlapping_FK_PK() Can_use_self_referencing_overlapping_FK_PK()

public virtual void Can_use_self_referencing_overlapping_FK_PK()
Public Overridable Sub Can_use_self_referencing_overlapping_FK_PK

CreateModelBuilder() CreateModelBuilder()

CreateTestModelBuilder(ModelBuilder) CreateTestModelBuilder(ModelBuilder)

Creates_both_navigations_and_creates_FK_specified() Creates_both_navigations_and_creates_FK_specified()

public virtual void Creates_both_navigations_and_creates_FK_specified()
Public Overridable Sub Creates_both_navigations_and_creates_FK_specified

Creates_both_navigations_and_creates_composite_FK_specified() Creates_both_navigations_and_creates_composite_FK_specified()

public virtual void Creates_both_navigations_and_creates_composite_FK_specified()
Public Overridable Sub Creates_both_navigations_and_creates_composite_FK_specified

Creates_both_navigations_and_creates_shadow_FK() Creates_both_navigations_and_creates_shadow_FK()

public virtual void Creates_both_navigations_and_creates_shadow_FK()
Public Overridable Sub Creates_both_navigations_and_creates_shadow_FK

Creates_both_navigations_and_matches_shadow_FK_property_by_convention() Creates_both_navigations_and_matches_shadow_FK_property_by_convention()

public virtual void Creates_both_navigations_and_matches_shadow_FK_property_by_convention()
Public Overridable Sub Creates_both_navigations_and_matches_shadow_FK_property_by_convention

Creates_both_navigations_and_overrides_existing_FK_when_uniqueness_does_not_match() Creates_both_navigations_and_overrides_existing_FK_when_uniqueness_does_not_match()

public virtual void Creates_both_navigations_and_overrides_existing_FK_when_uniqueness_does_not_match()
Public Overridable Sub Creates_both_navigations_and_overrides_existing_FK_when_uniqueness_does_not_match

Creates_both_navigations_and_uses_existing_FK() Creates_both_navigations_and_uses_existing_FK()

public virtual void Creates_both_navigations_and_uses_existing_FK()
Public Overridable Sub Creates_both_navigations_and_uses_existing_FK

Creates_both_navigations_and_uses_existing_FK_not_found_by_convention() Creates_both_navigations_and_uses_existing_FK_not_found_by_convention()

public virtual void Creates_both_navigations_and_uses_existing_FK_not_found_by_convention()
Public Overridable Sub Creates_both_navigations_and_uses_existing_FK_not_found_by_convention

Creates_both_navigations_and_uses_existing_composite_FK() Creates_both_navigations_and_uses_existing_composite_FK()

public virtual void Creates_both_navigations_and_uses_existing_composite_FK()
Public Overridable Sub Creates_both_navigations_and_uses_existing_composite_FK

Creates_both_navigations_and_uses_specified_FK_even_if_found_by_convention() Creates_both_navigations_and_uses_specified_FK_even_if_found_by_convention()

public virtual void Creates_both_navigations_and_uses_specified_FK_even_if_found_by_convention()
Public Overridable Sub Creates_both_navigations_and_uses_specified_FK_even_if_found_by_convention

Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_entity_name_properties_are_on_navigation_side() Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_entity_name_properties_are_on_navigation_side()

public virtual void Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_entity_name_properties_are_on_navigation_side()
Public Overridable Sub Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_entity_name_properties_are_on_navigation_side

Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_navigation_name_properties_are_on_navigation_side() Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_navigation_name_properties_are_on_navigation_side()

public virtual void Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_navigation_name_properties_are_on_navigation_side()
Public Overridable Sub Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_navigation_name_properties_are_on_navigation_side

Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_properties_are_on_both_sides() Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_properties_are_on_both_sides()

public virtual void Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_properties_are_on_both_sides()
Public Overridable Sub Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_matching_properties_are_on_both_sides

Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_no_matching_properties_either_side() Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_no_matching_properties_either_side()

public virtual void Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_no_matching_properties_either_side()
Public Overridable Sub Creates_one_to_many_relationship_with_single_ref_as_dependent_to_principal_if_no_matching_properties_either_side

Creates_relationship_on_existing_FK_is_using_different_principal_key() Creates_relationship_on_existing_FK_is_using_different_principal_key()

public virtual void Creates_relationship_on_existing_FK_is_using_different_principal_key()
Public Overridable Sub 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()

public virtual void Creates_relationship_on_existing_FK_is_using_different_principal_key_different_order()
Public Overridable Sub Creates_relationship_on_existing_FK_is_using_different_principal_key_different_order

Creates_relationship_with_both_navigations() Creates_relationship_with_both_navigations()

public virtual void Creates_relationship_with_both_navigations()
Public Overridable Sub Creates_relationship_with_both_navigations

Creates_relationship_with_navigation_to_dependent() Creates_relationship_with_navigation_to_dependent()

public virtual void Creates_relationship_with_navigation_to_dependent()
Public Overridable Sub Creates_relationship_with_navigation_to_dependent

Creates_relationship_with_navigation_to_principal() Creates_relationship_with_navigation_to_principal()

public virtual void Creates_relationship_with_navigation_to_principal()
Public Overridable Sub Creates_relationship_with_navigation_to_principal

Creates_relationship_with_no_navigations() Creates_relationship_with_no_navigations()

public virtual void Creates_relationship_with_no_navigations()
Public Overridable Sub Creates_relationship_with_no_navigations

Creates_relationship_with_no_navigations_and_specified_FK() Creates_relationship_with_no_navigations_and_specified_FK()

public virtual void Creates_relationship_with_no_navigations_and_specified_FK()
Public Overridable Sub Creates_relationship_with_no_navigations_and_specified_FK

Creates_relationship_with_no_navigations_and_specified_composite_FK() Creates_relationship_with_no_navigations_and_specified_composite_FK()

public virtual void Creates_relationship_with_no_navigations_and_specified_composite_FK()
Public Overridable Sub Creates_relationship_with_no_navigations_and_specified_composite_FK

Creates_shadow_FK_property_with_non_shadow_PK() Creates_shadow_FK_property_with_non_shadow_PK()

public virtual void Creates_shadow_FK_property_with_non_shadow_PK()
Public Overridable Sub Creates_shadow_FK_property_with_non_shadow_PK

Creates_shadow_FK_property_with_shadow_PK() Creates_shadow_FK_property_with_shadow_PK()

public virtual void Creates_shadow_FK_property_with_shadow_PK()
Public Overridable Sub Creates_shadow_FK_property_with_shadow_PK

Creates_shadow_FK_with_navigation_to_dependent() Creates_shadow_FK_with_navigation_to_dependent()

public virtual void Creates_shadow_FK_with_navigation_to_dependent()
Public Overridable Sub Creates_shadow_FK_with_navigation_to_dependent

Creates_shadow_FK_with_navigation_to_principal() Creates_shadow_FK_with_navigation_to_principal()

public virtual void Creates_shadow_FK_with_navigation_to_principal()
Public Overridable Sub Creates_shadow_FK_with_navigation_to_principal

Creates_shadow_FK_with_no_navigation() Creates_shadow_FK_with_no_navigation()

public virtual void Creates_shadow_FK_with_no_navigation()
Public Overridable Sub Creates_shadow_FK_with_no_navigation

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()

public virtual void Creates_shadow_property_for_foreign_key_according_to_navigation_to_principal_name_when_present()
Public Overridable Sub 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()

public virtual void Creates_shadow_property_for_foreign_key_according_to_target_type_when_navigation_to_principal_name_not_present()
Public Overridable Sub Creates_shadow_property_for_foreign_key_according_to_target_type_when_navigation_to_principal_name_not_present

Creates_specified_FK_with_navigation_to_dependent() Creates_specified_FK_with_navigation_to_dependent()

public virtual void Creates_specified_FK_with_navigation_to_dependent()
Public Overridable Sub Creates_specified_FK_with_navigation_to_dependent

Creates_specified_FK_with_navigation_to_principal() Creates_specified_FK_with_navigation_to_principal()

public virtual void Creates_specified_FK_with_navigation_to_principal()
Public Overridable Sub Creates_specified_FK_with_navigation_to_principal

Creates_specified_composite_FK_with_navigation_to_dependent() Creates_specified_composite_FK_with_navigation_to_dependent()

public virtual void Creates_specified_composite_FK_with_navigation_to_dependent()
Public Overridable Sub Creates_specified_composite_FK_with_navigation_to_dependent

Creates_specified_composite_FK_with_navigation_to_principal() Creates_specified_composite_FK_with_navigation_to_principal()

public virtual void Creates_specified_composite_FK_with_navigation_to_principal()
Public Overridable Sub Creates_specified_composite_FK_with_navigation_to_principal

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

Explicit_principal_key_is_not_replaced_with_new_primary_key() Explicit_principal_key_is_not_replaced_with_new_primary_key()

public virtual void Explicit_principal_key_is_not_replaced_with_new_primary_key()
Public Overridable Sub Explicit_principal_key_is_not_replaced_with_new_primary_key

Finds_existing_navigation_to_dependent_and_uses_associated_FK() Finds_existing_navigation_to_dependent_and_uses_associated_FK()

public virtual void Finds_existing_navigation_to_dependent_and_uses_associated_FK()
Public Overridable Sub 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()

public virtual void Finds_existing_navigation_to_principal_and_uses_associated_FK()
Public Overridable Sub Finds_existing_navigation_to_principal_and_uses_associated_FK

Finds_existing_navigations_and_uses_associated_FK() Finds_existing_navigations_and_uses_associated_FK()

public virtual void Finds_existing_navigations_and_uses_associated_FK()
Public Overridable Sub Finds_existing_navigations_and_uses_associated_FK

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

Handles_identity_correctly_while_removing_navigation() Handles_identity_correctly_while_removing_navigation()

public virtual void Handles_identity_correctly_while_removing_navigation()
Public Overridable Sub Handles_identity_correctly_while_removing_navigation

HobNobBuilder() HobNobBuilder()

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

Non_nullable_FK_are_required_by_default() Non_nullable_FK_are_required_by_default()

public virtual void Non_nullable_FK_are_required_by_default()
Public Overridable Sub Non_nullable_FK_are_required_by_default

Non_nullable_FK_can_be_made_optional_separetely() Non_nullable_FK_can_be_made_optional_separetely()

public virtual void Non_nullable_FK_can_be_made_optional_separetely()
Public Overridable Sub Non_nullable_FK_can_be_made_optional_separetely

Non_nullable_FK_cannot_be_made_optional() Non_nullable_FK_cannot_be_made_optional()

public virtual void Non_nullable_FK_cannot_be_made_optional()
Public Overridable Sub Non_nullable_FK_cannot_be_made_optional

Nullable_FK_are_optional_by_default() Nullable_FK_are_optional_by_default()

public virtual void Nullable_FK_are_optional_by_default()
Public Overridable Sub Nullable_FK_are_optional_by_default

Nullable_FK_can_be_made_required() Nullable_FK_can_be_made_required()

public virtual void Nullable_FK_can_be_made_required()
Public Overridable Sub Nullable_FK_can_be_made_required

One_to_many_relationship_has_no_ambiguity_convention() One_to_many_relationship_has_no_ambiguity_convention()

public virtual void One_to_many_relationship_has_no_ambiguity_convention()
Public Overridable Sub One_to_many_relationship_has_no_ambiguity_convention

One_to_many_relationship_has_no_ambiguity_explicit() One_to_many_relationship_has_no_ambiguity_explicit()

public virtual void One_to_many_relationship_has_no_ambiguity_explicit()
Public Overridable Sub One_to_many_relationship_has_no_ambiguity_explicit

Principal_key_by_convention_is_not_replaced_with_new_incompatible_primary_key() Principal_key_by_convention_is_not_replaced_with_new_incompatible_primary_key()

public virtual void Principal_key_by_convention_is_not_replaced_with_new_incompatible_primary_key()
Public Overridable Sub Principal_key_by_convention_is_not_replaced_with_new_incompatible_primary_key

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

RemoveKey_does_not_add_back_foreign_key_pointing_to_the_same_key() RemoveKey_does_not_add_back_foreign_key_pointing_to_the_same_key()

public virtual void RemoveKey_does_not_add_back_foreign_key_pointing_to_the_same_key()
Public Overridable Sub RemoveKey_does_not_add_back_foreign_key_pointing_to_the_same_key

Removes_existing_unidirectional_one_to_one_relationship() Removes_existing_unidirectional_one_to_one_relationship()

public virtual void Removes_existing_unidirectional_one_to_one_relationship()
Public Overridable Sub Removes_existing_unidirectional_one_to_one_relationship

Shadow_property_created_for_foreign_key_is_nullable() Shadow_property_created_for_foreign_key_is_nullable()

public virtual void Shadow_property_created_for_foreign_key_is_nullable()
Public Overridable Sub Shadow_property_created_for_foreign_key_is_nullable

Throws_on_existing_one_to_one_relationship() Throws_on_existing_one_to_one_relationship()

public virtual void Throws_on_existing_one_to_one_relationship()
Public Overridable Sub Throws_on_existing_one_to_one_relationship

Throws_when_foreign_key_references_shadow_key() Throws_when_foreign_key_references_shadow_key()

public virtual void Throws_when_foreign_key_references_shadow_key()
Public Overridable Sub Throws_when_foreign_key_references_shadow_key

ToString() ToString()

Inherited from System.Object