ForeignKeyTest ForeignKeyTest Class

Definition

public class ForeignKeyTest
Public Class ForeignKeyTest
Inheritance
System.ObjectSystem.Object
ForeignKeyTestForeignKeyTest

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

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

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

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

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

ToString() ToString()

Inherited from System.Object

Use_of_custom_IForeignKey_throws() Use_of_custom_IForeignKey_throws()

public void Use_of_custom_IForeignKey_throws()
Public Sub Use_of_custom_IForeignKey_throws