ForeignKeyTest ForeignKeyTest Class

Syntax

Declaration

public class ForeignKeyTestPublic Class ForeignKeyTest

Inheritance Hierarchy

  • System.Object
    System.Object
  • ForeignKeyTest
    ForeignKeyTest

Inherited Members

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

  • Can_change_cascade_delete_flag()
    Can_change_cascade_delete_flag()
    public void Can_change_cascade_delete_flag()Public Sub Can_change_cascade_delete_flag
  • Can_create_foreign_key()
    Can_create_foreign_key()
    public void Can_create_foreign_key()Public Sub Can_create_foreign_key
  • Can_create_foreign_key_with_non_pk_principal()
    Can_create_foreign_key_with_non_pk_principal()
    public void Can_create_foreign_key_with_non_pk_principal()Public Sub Can_create_foreign_key_with_non_pk_principal
  • Can_find_targets_for_non_hierarchical_foreign_keys()
    Can_find_targets_for_non_hierarchical_foreign_keys()
    public void Can_find_targets_for_non_hierarchical_foreign_keys()Public Sub Can_find_targets_for_non_hierarchical_foreign_keys
  • Can_find_targets_for_same_base_foreign_keys()
    Can_find_targets_for_same_base_foreign_keys()
    public void Can_find_targets_for_same_base_foreign_keys()Public Sub Can_find_targets_for_same_base_foreign_keys
  • Can_find_targets_for_self_ref_foreign_keys()
    Can_find_targets_for_self_ref_foreign_keys()
    public void Can_find_targets_for_self_ref_foreign_keys()Public Sub Can_find_targets_for_self_ref_foreign_keys
  • Can_finding_targets_for_same_hierarchy_foreign_keys()
    Can_finding_targets_for_same_hierarchy_foreign_keys()
    public void Can_finding_targets_for_same_hierarchy_foreign_keys()Public Sub Can_finding_targets_for_same_hierarchy_foreign_keys
  • Constructor_throws_when_principal_and_depedent_property_count_do_not_match()
    Constructor_throws_when_principal_and_depedent_property_count_do_not_match()
    public void Constructor_throws_when_principal_and_depedent_property_count_do_not_match()Public Sub Constructor_throws_when_principal_and_depedent_property_count_do_not_match
  • Constructor_throws_when_principal_and_depedent_property_types_do_not_match()
    Constructor_throws_when_principal_and_depedent_property_types_do_not_match()
    public void Constructor_throws_when_principal_and_depedent_property_types_do_not_match()Public Sub Constructor_throws_when_principal_and_depedent_property_types_do_not_match
  • Constructor_throws_when_referenced_key_not_on_referenced_entity()
    Constructor_throws_when_referenced_key_not_on_referenced_entity()
    public void Constructor_throws_when_referenced_key_not_on_referenced_entity()Public Sub Constructor_throws_when_referenced_key_not_on_referenced_entity
  • Finding_targets_throws_for_entity_types_not_in_the_relationship()
    Finding_targets_throws_for_entity_types_not_in_the_relationship()
    public void Finding_targets_throws_for_entity_types_not_in_the_relationship()Public Sub Finding_targets_throws_for_entity_types_not_in_the_relationship
  • IsIntraHierarchical_returns_false_for_non_hierarchical_foreign_keys()
    IsIntraHierarchical_returns_false_for_non_hierarchical_foreign_keys()
    public void IsIntraHierarchical_returns_false_for_non_hierarchical_foreign_keys()Public Sub IsIntraHierarchical_returns_false_for_non_hierarchical_foreign_keys
  • IsIntraHierarchical_returns_false_for_same_base_foreign_keys()
    IsIntraHierarchical_returns_false_for_same_base_foreign_keys()
    public void IsIntraHierarchical_returns_false_for_same_base_foreign_keys()Public Sub IsIntraHierarchical_returns_false_for_same_base_foreign_keys
  • IsIntraHierarchical_returns_true_for_non_pk_self_ref_foreign_keys()
    IsIntraHierarchical_returns_true_for_non_pk_self_ref_foreign_keys()
    public void IsIntraHierarchical_returns_true_for_non_pk_self_ref_foreign_keys()Public Sub IsIntraHierarchical_returns_true_for_non_pk_self_ref_foreign_keys
  • IsIntraHierarchical_returns_true_for_same_hierarchy_foreign_keys()
    IsIntraHierarchical_returns_true_for_same_hierarchy_foreign_keys()
    public void IsIntraHierarchical_returns_true_for_same_hierarchy_foreign_keys()Public Sub IsIntraHierarchical_returns_true_for_same_hierarchy_foreign_keys
  • IsIntraHierarchical_returns_true_for_self_ref_foreign_keys()
    IsIntraHierarchical_returns_true_for_self_ref_foreign_keys()
    public void IsIntraHierarchical_returns_true_for_self_ref_foreign_keys()Public Sub IsIntraHierarchical_returns_true_for_self_ref_foreign_keys
  • IsRequired_and_IsUnique_null_when_dependent_property_not_nullable_by_default()
    IsRequired_and_IsUnique_null_when_dependent_property_not_nullable_by_default()
    public void IsRequired_and_IsUnique_null_when_dependent_property_not_nullable_by_default()Public Sub IsRequired_and_IsUnique_null_when_dependent_property_not_nullable_by_default
  • IsRequired_and_IsUnique_null_when_dependent_property_nullable_by_default()
    IsRequired_and_IsUnique_null_when_dependent_property_nullable_by_default()
    public void IsRequired_and_IsUnique_null_when_dependent_property_nullable_by_default()Public Sub IsRequired_and_IsUnique_null_when_dependent_property_nullable_by_default
  • IsRequired_false_for_composite_FK_by_default()
    IsRequired_false_for_composite_FK_by_default()
    public void IsRequired_false_for_composite_FK_by_default()Public Sub IsRequired_false_for_composite_FK_by_default
  • IsRequired_false_when_any_part_of_composite_FK_is_nullable()
    IsRequired_false_when_any_part_of_composite_FK_is_nullable()
    public void IsRequired_false_when_any_part_of_composite_FK_is_nullable()Public Sub IsRequired_false_when_any_part_of_composite_FK_is_nullable
  • IsRequired_false_when_dependent_property_nullable()
    IsRequired_false_when_dependent_property_nullable()
    public void IsRequired_false_when_dependent_property_nullable()Public Sub IsRequired_false_when_dependent_property_nullable
  • IsRequired_true_when_dependent_property_not_nullable()
    IsRequired_true_when_dependent_property_not_nullable()
    public void IsRequired_true_when_dependent_property_not_nullable()Public Sub IsRequired_true_when_dependent_property_not_nullable
  • IsSelfPrimaryKeyReferencing_returns_false_for_non_hierarchical_foreign_keys()
    IsSelfPrimaryKeyReferencing_returns_false_for_non_hierarchical_foreign_keys()
    public void IsSelfPrimaryKeyReferencing_returns_false_for_non_hierarchical_foreign_keys()Public Sub IsSelfPrimaryKeyReferencing_returns_false_for_non_hierarchical_foreign_keys
  • IsSelfPrimaryKeyReferencing_returns_false_for_non_pk_self_ref_foreign_keys()
    IsSelfPrimaryKeyReferencing_returns_false_for_non_pk_self_ref_foreign_keys()
    public void IsSelfPrimaryKeyReferencing_returns_false_for_non_pk_self_ref_foreign_keys()Public Sub IsSelfPrimaryKeyReferencing_returns_false_for_non_pk_self_ref_foreign_keys
  • IsSelfPrimaryKeyReferencing_returns_true_for_same_base_foreign_keys()
    IsSelfPrimaryKeyReferencing_returns_true_for_same_base_foreign_keys()
    public void IsSelfPrimaryKeyReferencing_returns_true_for_same_base_foreign_keys()Public Sub IsSelfPrimaryKeyReferencing_returns_true_for_same_base_foreign_keys
  • IsSelfPrimaryKeyReferencing_returns_true_for_same_hierarchy_foreign_keys()
    IsSelfPrimaryKeyReferencing_returns_true_for_same_hierarchy_foreign_keys()
    public void IsSelfPrimaryKeyReferencing_returns_true_for_same_hierarchy_foreign_keys()Public Sub IsSelfPrimaryKeyReferencing_returns_true_for_same_hierarchy_foreign_keys
  • IsSelfPrimaryKeyReferencing_returns_true_for_self_ref_foreign_keys()
    IsSelfPrimaryKeyReferencing_returns_true_for_self_ref_foreign_keys()
    public void IsSelfPrimaryKeyReferencing_returns_true_for_self_ref_foreign_keys()Public Sub IsSelfPrimaryKeyReferencing_returns_true_for_self_ref_foreign_keys
  • IsSelfReferencing_returns_false_for_non_hierarchical_foreign_keys()
    IsSelfReferencing_returns_false_for_non_hierarchical_foreign_keys()
    public void IsSelfReferencing_returns_false_for_non_hierarchical_foreign_keys()Public Sub IsSelfReferencing_returns_false_for_non_hierarchical_foreign_keys
  • IsSelfReferencing_returns_false_for_same_base_foreign_keys()
    IsSelfReferencing_returns_false_for_same_base_foreign_keys()
    public void IsSelfReferencing_returns_false_for_same_base_foreign_keys()Public Sub IsSelfReferencing_returns_false_for_same_base_foreign_keys
  • IsSelfReferencing_returns_false_for_same_hierarchy_foreign_keys()
    IsSelfReferencing_returns_false_for_same_hierarchy_foreign_keys()
    public void IsSelfReferencing_returns_false_for_same_hierarchy_foreign_keys()Public Sub IsSelfReferencing_returns_false_for_same_hierarchy_foreign_keys
  • IsSelfReferencing_returns_true_for_non_pk_self_ref_foreign_keys()
    IsSelfReferencing_returns_true_for_non_pk_self_ref_foreign_keys()
    public void IsSelfReferencing_returns_true_for_non_pk_self_ref_foreign_keys()Public Sub IsSelfReferencing_returns_true_for_non_pk_self_ref_foreign_keys
  • IsSelfReferencing_returns_true_for_self_ref_foreign_keys()
    IsSelfReferencing_returns_true_for_self_ref_foreign_keys()
    public void IsSelfReferencing_returns_true_for_self_ref_foreign_keys()Public Sub IsSelfReferencing_returns_true_for_self_ref_foreign_keys
  • Setting_IsRequired_to_false_will_set_all_FK_properties_as_nullable()
    Setting_IsRequired_to_false_will_set_all_FK_properties_as_nullable()
    public void Setting_IsRequired_to_false_will_set_all_FK_properties_as_nullable()Public Sub Setting_IsRequired_to_false_will_set_all_FK_properties_as_nullable
  • Setting_IsRequired_to_true_will_set_all_FK_properties_as_non_nullable()
    Setting_IsRequired_to_true_will_set_all_FK_properties_as_non_nullable()
    public void Setting_IsRequired_to_true_will_set_all_FK_properties_as_non_nullable()Public Sub Setting_IsRequired_to_true_will_set_all_FK_properties_as_non_nullable
  • Throws_when_setting_navigation_to_dependent_on_wrong_FK()
    Throws_when_setting_navigation_to_dependent_on_wrong_FK()
    public void Throws_when_setting_navigation_to_dependent_on_wrong_FK()Public Sub Throws_when_setting_navigation_to_dependent_on_wrong_FK
  • Throws_when_setting_navigation_to_principal_on_wrong_FK()
    Throws_when_setting_navigation_to_principal_on_wrong_FK()
    public void Throws_when_setting_navigation_to_principal_on_wrong_FK()Public Sub Throws_when_setting_navigation_to_principal_on_wrong_FK
  • Use_of_custom_IForeignKey_throws()
    Use_of_custom_IForeignKey_throws()
    public void Use_of_custom_IForeignKey_throws()Public Sub Use_of_custom_IForeignKey_throws

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll