ModelBuilderNonGenericUnqualifiedStringTest.NonGenericStringOneToManyType ModelBuilderNonGenericUnqualifiedStringTest.NonGenericStringOneToManyType Class

Definition

public class NonGenericStringOneToManyType : ModelBuilderTest.OneToManyTestBase
Public Class NonGenericStringOneToManyType
    Inherits ModelBuilderTest.OneToManyTestBase
Inheritance
System.ObjectSystem.Object
ModelBuilderNonGenericUnqualifiedStringTest.NonGenericStringOneToManyTypeModelBuilderNonGenericUnqualifiedStringTest.NonGenericStringOneToManyType

Methods

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

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

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

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

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

Can_use_self_referencing_overlapping_FK_PK() Can_use_self_referencing_overlapping_FK_PK()

CreateModelBuilder() CreateModelBuilder()

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

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

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

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

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

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

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

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

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

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)

protected override ModelBuilderTest.TestModelBuilder CreateTestModelBuilder(ModelBuilder modelBuilder)
Protected Overrides Function CreateTestModelBuilder(modelBuilder As ModelBuilder) As ModelBuilderTest.TestModelBuilder
Parameters
modelBuilder
ModelBuilder ModelBuilder
Returns
Overrides

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

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

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

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

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

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

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

Removes_existing_unidirectional_one_to_one_relationship() Removes_existing_unidirectional_one_to_one_relationship()

Shadow_property_created_for_foreign_key_is_nullable() Shadow_property_created_for_foreign_key_is_nullable()

Throws_on_existing_one_to_one_relationship() Throws_on_existing_one_to_one_relationship()

Throws_when_foreign_key_references_shadow_key() Throws_when_foreign_key_references_shadow_key()

ToString() ToString()

Inherited from System.Object