ModelBuilderTest.ManyToOneTestBase ModelBuilderTest.ManyToOneTestBase Class

Definition

public abstract class ManyToOneTestBase : ModelBuilderTest.ModelBuilderTestBase
Public MustInherit Class ManyToOneTestBase
    Inherits ModelBuilderTest.ModelBuilderTestBase
Inheritance
System.ObjectSystem.Object
ModelBuilderTest.ManyToOneTestBaseModelBuilderTest.ManyToOneTestBase

Inherited Members

Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.ModelBuilderTestBase

AssertEqual(System.Collections.Generic.IEnumerable<System.String>, System.Collections.Generic.IEnumerable<System.String>, System.StringComparer)AssertEqual(System.Collections.Generic.IEnumerable(Of System.String), System.Collections.Generic.IEnumerable(Of System.String), System.StringComparer)
AssertEqual(System.Collections.Generic.IEnumerable<IProperty>, System.Collections.Generic.IEnumerable<IProperty>, PropertyComparer)AssertEqual(System.Collections.Generic.IEnumerable(Of IProperty), System.Collections.Generic.IEnumerable(Of IProperty), PropertyComparer)
AssertEqual(System.Collections.Generic.IEnumerable<INavigation>, System.Collections.Generic.IEnumerable<INavigation>, NavigationComparer)AssertEqual(System.Collections.Generic.IEnumerable(Of INavigation), System.Collections.Generic.IEnumerable(Of INavigation), NavigationComparer)
AssertEqual(System.Collections.Generic.IEnumerable<IKey>, System.Collections.Generic.IEnumerable<IKey>, KeyComparer)AssertEqual(System.Collections.Generic.IEnumerable(Of IKey), System.Collections.Generic.IEnumerable(Of IKey), KeyComparer)
AssertEqual(System.Collections.Generic.IEnumerable<IForeignKey>, System.Collections.Generic.IEnumerable<IForeignKey>, ForeignKeyStrictComparer)AssertEqual(System.Collections.Generic.IEnumerable(Of IForeignKey), System.Collections.Generic.IEnumerable(Of IForeignKey), ForeignKeyStrictComparer)
AssertEqual(System.Collections.Generic.IEnumerable<IIndex>, System.Collections.Generic.IEnumerable<IIndex>, IndexComparer)AssertEqual(System.Collections.Generic.IEnumerable(Of IIndex), System.Collections.Generic.IEnumerable(Of IIndex), IndexComparer)

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

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

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

public virtual void Creates_both_navigations_and_creates_new_FK()
Public Overridable Sub Creates_both_navigations_and_creates_new_FK

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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