EntityTypeTest EntityTypeTest Class

Definition

public class EntityTypeTest
Public Class EntityTypeTest
Inheritance
System.ObjectSystem.Object
EntityTypeTestEntityTypeTest

Methods

AddIndex_throws_if_duplicate() AddIndex_throws_if_duplicate()
AddIndex_throws_if_not_from_same_entity() AddIndex_throws_if_not_from_same_entity()
Adding_an_index_throws_if_properties_were_removed() Adding_an_index_throws_if_properties_were_removed()
Adding_an_index_throws_when_child_type_has_index_on_same_properties() Adding_an_index_throws_when_child_type_has_index_on_same_properties()
Adding_an_index_throws_when_grandchild_type_has_index_on_same_properties() Adding_an_index_throws_when_grandchild_type_has_index_on_same_properties()
Adding_an_index_throws_when_grandparent_type_has_index_on_same_properties() Adding_an_index_throws_when_grandparent_type_has_index_on_same_properties()
Adding_an_index_throws_when_parent_type_has_index_on_same_properties() Adding_an_index_throws_when_parent_type_has_index_on_same_properties()
Adding_a_CLR_property_from_wrong_CLR_type_throws() Adding_a_CLR_property_from_wrong_CLR_type_throws()
Adding_a_CLR_property_to_shadow_type_throws() Adding_a_CLR_property_to_shadow_type_throws()
Adding_a_foreign_key_throws_if_any_properties_are_part_of_inherited_key() Adding_a_foreign_key_throws_if_any_properties_are_part_of_inherited_key()
Adding_a_foreign_key_throws_if_duplicate() Adding_a_foreign_key_throws_if_duplicate()
Adding_a_foreign_key_throws_if_key_was_removed() Adding_a_foreign_key_throws_if_key_was_removed()
Adding_a_foreign_key_throws_if_properties_from_different_type() Adding_a_foreign_key_throws_if_properties_from_different_type()
Adding_a_foreign_key_throws_if_properties_were_removed() Adding_a_foreign_key_throws_if_properties_were_removed()
Adding_a_foreign_key_throws_if_related_entity_is_from_different_model() Adding_a_foreign_key_throws_if_related_entity_is_from_different_model()
Adding_a_key_throws_if_any_properties_are_part_of_derived_foreign_key() Adding_a_key_throws_if_any_properties_are_part_of_derived_foreign_key()
Adding_a_key_throws_if_duplicated() Adding_a_key_throws_if_duplicated()
Adding_a_key_throws_if_properties_from_different_type() Adding_a_key_throws_if_properties_from_different_type()
Adding_a_key_throws_if_properties_were_removed() Adding_a_key_throws_if_properties_were_removed()
Adding_a_key_throws_if_same_as_primary() Adding_a_key_throws_if_same_as_primary()
Adding_a_navigation_on_non_shadow_entity_type_pointing_to_a_shadow_entity_type_throws() Adding_a_navigation_on_non_shadow_entity_type_pointing_to_a_shadow_entity_type_throws()
Adding_a_navigation_that_doesnt_match_a_CLR_property_throws() Adding_a_navigation_that_doesnt_match_a_CLR_property_throws()
Adding_a_new_navigation_with_a_name_that_conflicts_with_a_property_throws() Adding_a_new_navigation_with_a_name_that_conflicts_with_a_property_throws()
Adding_a_new_property_with_a_name_that_already_exists_throws() Adding_a_new_property_with_a_name_that_already_exists_throws()
Adding_a_new_property_with_a_name_that_conflicts_with_a_navigation_throws() Adding_a_new_property_with_a_name_that_conflicts_with_a_navigation_throws()
Adding_a_shadow_navigation_on_a_non_shadow_entity_type_throws() Adding_a_shadow_navigation_on_a_non_shadow_entity_type_throws()
Adding_foreignKey_throws_when_child_type_has_foreignKey_on_same_properties() Adding_foreignKey_throws_when_child_type_has_foreignKey_on_same_properties()
Adding_foreignKey_throws_when_grandchild_type_has_foreignKey_on_same_properties() Adding_foreignKey_throws_when_grandchild_type_has_foreignKey_on_same_properties()
Adding_foreignKey_throws_when_grandparent_type_has_foreignKey_on_same_properties() Adding_foreignKey_throws_when_grandparent_type_has_foreignKey_on_same_properties()
Adding_foreignKey_throws_when_parent_type_has_foreignKey_on_same_properties() Adding_foreignKey_throws_when_parent_type_has_foreignKey_on_same_properties()
Adding_keys_throws_when_there_is_a_parent_type() Adding_keys_throws_when_there_is_a_parent_type()
Adding_navigation_throws_when_child_type_has_navigation_with_same_name() Adding_navigation_throws_when_child_type_has_navigation_with_same_name()
Adding_navigation_throws_when_grandchild_type_has_navigation_with_same_name() Adding_navigation_throws_when_grandchild_type_has_navigation_with_same_name()
Adding_navigation_throws_when_grandparent_type_has_navigation_with_same_name() Adding_navigation_throws_when_grandparent_type_has_navigation_with_same_name()
Adding_navigation_throws_when_parent_type_has_navigation_with_same_name() Adding_navigation_throws_when_parent_type_has_navigation_with_same_name()
Adding_property_throws_when_child_type_has_property_with_same_name() Adding_property_throws_when_child_type_has_property_with_same_name()
Adding_property_throws_when_grandchild_type_has_property_with_same_name() Adding_property_throws_when_grandchild_type_has_property_with_same_name()
Adding_property_throws_when_grandparent_type_has_property_with_same_name() Adding_property_throws_when_grandparent_type_has_property_with_same_name()
Adding_property_throws_when_parent_type_has_property_with_same_name() Adding_property_throws_when_parent_type_has_property_with_same_name()
AddProperty_throws_if_clr_type_does_not_match() AddProperty_throws_if_clr_type_does_not_match()
AddProperty_throws_if_no_clr_property_or_field() AddProperty_throws_if_no_clr_property_or_field()
AddProperty_throws_if_shadow_entity_type() AddProperty_throws_if_shadow_entity_type()
All_properties_have_original_value_indexes_when_full_notifications_with_original_values() All_properties_have_original_value_indexes_when_full_notifications_with_original_values()
All_properties_have_original_value_indexes_when_using_changed_only_tracking() All_properties_have_original_value_indexes_when_using_changed_only_tracking()
All_properties_have_original_value_indexes_when_using_snapshot_change_tracking() All_properties_have_original_value_indexes_when_using_snapshot_change_tracking()
All_relationship_properties_have_relationship_indexes_when_using_snapshot_change_tracking() All_relationship_properties_have_relationship_indexes_when_using_snapshot_change_tracking()
Cannot_remove_property_when_used_by_an_index() Cannot_remove_property_when_used_by_an_index()
Cannot_remove_property_when_used_by_foreign_key() Cannot_remove_property_when_used_by_foreign_key()
Cannot_remove_property_when_used_by_non_primary_key() Cannot_remove_property_when_used_by_non_primary_key()
Cannot_remove_property_when_used_by_primary_key() Cannot_remove_property_when_used_by_primary_key()
Can_add_and_get_a_key() Can_add_and_get_a_key()
Can_add_and_remove_navigations() Can_add_and_remove_navigations()
Can_add_and_remove_properties() Can_add_and_remove_properties()
Can_add_a_foreign_key() Can_add_a_foreign_key()
Can_add_a_foreign_key_targetting_different_entity_type() Can_add_a_foreign_key_targetting_different_entity_type()
Can_add_a_foreign_key_targetting_different_key() Can_add_a_foreign_key_targetting_different_key()
Can_add_a_navigation_to_shadow_entity() Can_add_a_navigation_to_shadow_entity()
Can_add_new_navigations_or_get_existing_navigations() Can_add_new_navigations_or_get_existing_navigations()
Can_add_new_properties_or_get_existing_properties_using_PropertyInfo_or_name() Can_add_new_properties_or_get_existing_properties_using_PropertyInfo_or_name()
Can_add_retrieve_and_remove_indexes() Can_add_retrieve_and_remove_indexes()
Can_change_the_primary_key_if_it_is_referenced_from_a_foreign_key() Can_change_the_primary_key_if_it_is_referenced_from_a_foreign_key()
Can_clear_the_primary_key_if_it_is_referenced_from_a_foreign_key() Can_clear_the_primary_key_if_it_is_referenced_from_a_foreign_key()
Can_create_entity_type() Can_create_entity_type()
Can_create_self_referencing_navigations() Can_create_self_referencing_navigations()
Can_get_navigation_and_can_try_get_navigation() Can_get_navigation_and_can_try_get_navigation()
Can_get_or_add_a_foreign_key() Can_get_or_add_a_foreign_key()
Can_get_property_and_can_try_get_property() Can_get_property_and_can_try_get_property()
Can_get_property_indexes() Can_get_property_indexes()
Can_get_set_reset_and_clear_primary_key() Can_get_set_reset_and_clear_primary_key()
Can_remove_a_foreign_key_if_it_is_referenced_from_a_navigation_in_the_model() Can_remove_a_foreign_key_if_it_is_referenced_from_a_navigation_in_the_model()
Can_remove_foreign_keys() Can_remove_foreign_keys()
Can_remove_keys() Can_remove_keys()
Can_set_reset_and_clear_primary_key() Can_set_reset_and_clear_primary_key()
Change_tracking_can_be_set_to_anything_for_full_notification_entities() Change_tracking_can_be_set_to_anything_for_full_notification_entities()
Change_tracking_can_be_set_to_snapshot_only_for_non_notifying_entities() Change_tracking_can_be_set_to_snapshot_only_for_non_notifying_entities()
Change_tracking_can_be_set_to_snapshot_or_changed_only_for_changed_only_entities() Change_tracking_can_be_set_to_snapshot_or_changed_only_for_changed_only_entities()
Change_tracking_from_model_is_used_by_default_for_shadow_entities() Change_tracking_from_model_is_used_by_default_for_shadow_entities()
Change_tracking_from_model_is_used_by_default_regardless_of_CLR_type() Change_tracking_from_model_is_used_by_default_regardless_of_CLR_type()
Circular_inheritance_should_throw() Circular_inheritance_should_throw()
Collections_dont_have_relationship_indexes_when_full_notifications_with_original_values() Collections_dont_have_relationship_indexes_when_full_notifications_with_original_values()
Collections_dont_have_relationship_indexes_when_using_changed_only_change_tracking() Collections_dont_have_relationship_indexes_when_using_changed_only_change_tracking()
Collections_dont_have_relationship_indexes_when_using_full_notifications() Collections_dont_have_relationship_indexes_when_using_full_notifications()
Collection_navigation_properties_cannot_be_IEnumerables_of_derived_target_type() Collection_navigation_properties_cannot_be_IEnumerables_of_derived_target_type()
Collection_navigation_properties_can_be_IEnumerables_of_base_target_type() Collection_navigation_properties_can_be_IEnumerables_of_base_target_type()
Collection_navigation_properties_must_be_IEnumerables_of_the_target_type() Collection_navigation_properties_must_be_IEnumerables_of_the_target_type()
Composite_primary_key_properties_are_listed_in_key_order() Composite_primary_key_properties_are_listed_in_key_order()
Display_name_is_entity_type_name_when_no_CLR_type() Display_name_is_entity_type_name_when_no_CLR_type()
Display_name_is_prettified_CLR_name() Display_name_is_prettified_CLR_name()
System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
ForeignKeys_added_to_base_type_should_be_inherited() ForeignKeys_added_to_base_type_should_be_inherited()
ForeignKeys_on_base_type_should_be_inherited() ForeignKeys_on_base_type_should_be_inherited()
ForeignKeys_should_be_updated_when_base_type_changes() ForeignKeys_should_be_updated_when_base_type_changes()
Foreign_keys_are_ordered_by_property_count_then_property_names() Foreign_keys_are_ordered_by_property_count_then_property_names()
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Object.GetType() System.Object.GetType() Inherited from System.Object
Indexes_are_ordered_by_property_count_then_property_names() Indexes_are_ordered_by_property_count_then_property_names()
Indexes_are_rebuilt_when_more_properties_added_or_relevant_state_changes() Indexes_are_rebuilt_when_more_properties_added_or_relevant_state_changes()
Indexes_for_derived_types_are_calculated_correctly() Indexes_for_derived_types_are_calculated_correctly()
Indexes_should_be_updated_when_base_type_changes() Indexes_should_be_updated_when_base_type_changes()
Index_added_to_base_type_should_be_inherited() Index_added_to_base_type_should_be_inherited()
Index_on_base_type_should_be_inherited() Index_on_base_type_should_be_inherited()
Keys_added_to_base_type_should_be_inherited() Keys_added_to_base_type_should_be_inherited()
Keys_are_ordered_by_property_count_then_property_names() Keys_are_ordered_by_property_count_then_property_names()
Keys_on_base_type_should_be_inherited() Keys_on_base_type_should_be_inherited()
Keys_should_be_updated_when_base_type_changes() Keys_should_be_updated_when_base_type_changes()
Key_properties_are_always_read_only_after_save() Key_properties_are_always_read_only_after_save()
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
Name_is_prettified_CLR_full_name() Name_is_prettified_CLR_full_name()
Navigations_added_to_base_type_should_be_inherited() Navigations_added_to_base_type_should_be_inherited()
Navigations_are_ordered_by_name() Navigations_are_ordered_by_name()
Navigations_on_base_type_should_be_inherited() Navigations_on_base_type_should_be_inherited()
Navigations_should_be_updated_when_base_type_changes() Navigations_should_be_updated_when_base_type_changes()
Only_concurrency_and_key_properties_have_original_value_indexes_when_using_full_notifications() Only_concurrency_and_key_properties_have_original_value_indexes_when_using_full_notifications()
Primary_key_properties_precede_others() Primary_key_properties_precede_others()
Properties_added_to_base_type_should_be_inherited() Properties_added_to_base_type_should_be_inherited()
Properties_are_ordered_by_name() Properties_are_ordered_by_name()
Properties_are_properly_ordered_when_primary_key_changes() Properties_are_properly_ordered_when_primary_key_changes()
Properties_on_base_type_are_listed_before_derived_properties() Properties_on_base_type_are_listed_before_derived_properties()
Properties_on_base_type_should_be_inherited() Properties_on_base_type_should_be_inherited()
Properties_should_be_updated_when_base_type_changes() Properties_should_be_updated_when_base_type_changes()
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
Reference_navigation_properties_cannot_be_of_derived_type() Reference_navigation_properties_cannot_be_of_derived_type()
Reference_navigation_properties_can_be_of_base_type() Reference_navigation_properties_can_be_of_base_type()
Reference_navigation_properties_must_be_of_the_target_type() Reference_navigation_properties_must_be_of_the_target_type()
Removing_a_key_throws_if_it_referenced_from_a_foreign_key_in_the_model() Removing_a_key_throws_if_it_referenced_from_a_foreign_key_in_the_model()
Setting_base_type_throws_when_child_contains_key() Setting_base_type_throws_when_child_contains_key()
Setting_base_type_throws_when_grandchild_contain_duplicate_navigation() Setting_base_type_throws_when_grandchild_contain_duplicate_navigation()
Setting_base_type_throws_when_grandchild_contain_duplicate_property() Setting_base_type_throws_when_grandchild_contain_duplicate_property()
Setting_base_type_throws_when_grandparent_contains_duplicate_navigation() Setting_base_type_throws_when_grandparent_contains_duplicate_navigation()
Setting_base_type_throws_when_grandparent_contains_duplicate_property() Setting_base_type_throws_when_grandparent_contains_duplicate_property()
Setting_base_type_throws_when_parent_contains_duplicate_navigation() Setting_base_type_throws_when_parent_contains_duplicate_navigation()
Setting_base_type_throws_when_parent_contains_duplicate_property() Setting_base_type_throws_when_parent_contains_duplicate_property()
Setting_CLR_base_for_shadow_entity_type_should_throw() Setting_CLR_base_for_shadow_entity_type_should_throw()
Setting_not_assignable_base_should_throw() Setting_not_assignable_base_should_throw()
Setting_primary_key_throws_if_properties_from_different_type() Setting_primary_key_throws_if_properties_from_different_type()
Setting_shadow_base_for_CLR_entity_type_should_throw() Setting_shadow_base_for_CLR_entity_type_should_throw()
Shadow_properties_have_CLR_flag_set_to_false() Shadow_properties_have_CLR_flag_set_to_false()
Store_always_computed_values_are_not_read_only_before_and_after_save_by_default() Store_always_computed_values_are_not_read_only_before_and_after_save_by_default()
Store_computed_values_are_read_only_before_and_after_save_by_default() Store_computed_values_are_read_only_before_and_after_save_by_default()
Throws_when_adding_same_self_referencing_navigation_twice() Throws_when_adding_same_self_referencing_navigation_twice()
System.Object.ToString() System.Object.ToString() Inherited from System.Object
Use_of_custom_IEntityType_throws() Use_of_custom_IEntityType_throws()