InternalClrEntityEntryTest InternalClrEntityEntryTest Class

Definition

public class InternalClrEntityEntryTest : InternalEntityEntryTestBase
Public Class InternalClrEntityEntryTest
    Inherits InternalEntityEntryTestBase
Inheritance
System.ObjectSystem.Object
InternalClrEntityEntryTestInternalClrEntityEntryTest

Methods

AcceptChanges_detaches_Deleted_entities() AcceptChanges_detaches_Deleted_entities()

AcceptChanges_does_nothing_for_unchanged_entities() AcceptChanges_does_nothing_for_unchanged_entities()

AcceptChanges_does_nothing_for_unknown_entities() AcceptChanges_does_nothing_for_unknown_entities()

AcceptChanges_makes_Added_entities_Unchanged() AcceptChanges_makes_Added_entities_Unchanged()

AcceptChanges_makes_Modified_entities_Unchanged_and_effectively_resets_unused_original_values() AcceptChanges_makes_Modified_entities_Unchanged_and_effectively_resets_unused_original_values()

AcceptChanges_makes_Modified_entities_Unchanged_and_resets_used_original_values() AcceptChanges_makes_Modified_entities_Unchanged_and_resets_used_original_values()

Added_entities_can_have_temporary_values() Added_entities_can_have_temporary_values()

Added_entity_with_conceptually_null_FK_with_cascade_delete_is_detached() Added_entity_with_conceptually_null_FK_with_cascade_delete_is_detached()

AllOriginalValuesTest(IModel, IEntityType, Object) AllOriginalValuesTest(IModel, IEntityType, Object)

All_original_values_can_be_accessed_for_entity_that_does_changed_only_notifictions() All_original_values_can_be_accessed_for_entity_that_does_changed_only_notifictions()

public void All_original_values_can_be_accessed_for_entity_that_does_changed_only_notifictions()
Public Sub All_original_values_can_be_accessed_for_entity_that_does_changed_only_notifictions

All_original_values_can_be_accessed_for_entity_that_does_full_change_tracking_if_eager_values_on() All_original_values_can_be_accessed_for_entity_that_does_full_change_tracking_if_eager_values_on()

All_original_values_can_be_accessed_for_entity_that_does_no_notifiction() All_original_values_can_be_accessed_for_entity_that_does_no_notifiction()

public void All_original_values_can_be_accessed_for_entity_that_does_no_notifiction()
Public Sub All_original_values_can_be_accessed_for_entity_that_does_no_notifiction

Asking_for_entity_instance_causes_it_to_be_materialized() Asking_for_entity_instance_causes_it_to_be_materialized()

public void Asking_for_entity_instance_causes_it_to_be_materialized()
Public Sub Asking_for_entity_instance_causes_it_to_be_materialized

BuildModel() BuildModel()

Can_get_entity() Can_get_entity()

public void Can_get_entity()
Public Sub Can_get_entity

Can_get_property_value_after_creation_from_value_buffer() Can_get_property_value_after_creation_from_value_buffer()

Can_get_value_buffer_from_properties() Can_get_value_buffer_from_properties()

Can_set_and_get_property_values() Can_set_and_get_property_values()

Can_set_and_get_property_values_genericly() Can_set_and_get_property_values_genericly()

Can_set_and_get_property_value_from_CLR_object() Can_set_and_get_property_value_from_CLR_object()

public void Can_set_and_get_property_value_from_CLR_object()
Public Sub Can_set_and_get_property_value_from_CLR_object

Can_set_property_value_after_creation_from_value_buffer() Can_set_property_value_after_creation_from_value_buffer()

Changing_state_from_Added_to_Deleted_does_what_you_ask() Changing_state_from_Added_to_Deleted_does_what_you_ask()

Changing_state_from_Unknown_causes_entity_to_start_tracking() Changing_state_from_Unknown_causes_entity_to_start_tracking()

Changing_state_to_Added_triggers_value_generation_for_any_property() Changing_state_to_Added_triggers_value_generation_for_any_property()

Changing_state_to_Modified_or_Unchanged_causes_all_properties_to_be_marked_accordingly() Changing_state_to_Modified_or_Unchanged_causes_all_properties_to_be_marked_accordingly()

Changing_state_to_Unknown_causes_entity_to_stop_tracking() Changing_state_to_Unknown_causes_entity_to_stop_tracking()

Changing_state_with_temp_value_throws(EntityState) Changing_state_with_temp_value_throws(EntityState)

CreateInternalEntry(IServiceProvider, IEntityType, Object) CreateInternalEntry(IServiceProvider, IEntityType, Object)

CreateInternalEntry(IServiceProvider, IEntityType, Object, ValueBuffer) CreateInternalEntry(IServiceProvider, IEntityType, Object, ValueBuffer)

Detaching_with_temp_values_does_not_throw() Detaching_with_temp_values_does_not_throw()

Entity_with_partially_null_composite_FK_without_cascade_delete_is_orphaned() Entity_with_partially_null_composite_FK_without_cascade_delete_is_orphaned()

Entity_with_partially_null_composite_FK_with_cascade_delete_is_marked_Deleted() Entity_with_partially_null_composite_FK_with_cascade_delete_is_marked_Deleted()

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GenericNullOriginalValuesTest(IModel, IEntityType, Object) GenericNullOriginalValuesTest(IModel, IEntityType, Object)

GenericOriginalValuesTest(IModel, IEntityType, Object) GenericOriginalValuesTest(IModel, IEntityType, Object)

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

Key_properties_share_value_generation_space_with_base() Key_properties_share_value_generation_space_with_base()

Key_properties_throw_immediately_if_modified() Key_properties_throw_immediately_if_modified()

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

Modified_values_are_reset_when_entity_is_changed_to_Added() Modified_values_are_reset_when_entity_is_changed_to_Added()

Non_transparent_sidecar_does_not_intercept_normal_property_read_and_write() Non_transparent_sidecar_does_not_intercept_normal_property_read_and_write()

Notification_that_an_FK_property_has_changed_updates_the_snapshot() Notification_that_an_FK_property_has_changed_updates_the_snapshot()

NullOriginalValuesTest(IModel, IEntityType, Object) NullOriginalValuesTest(IModel, IEntityType, Object)

Null_original_values_are_handled_for_entity_that_does_changed_only_notification() Null_original_values_are_handled_for_entity_that_does_changed_only_notification()

Null_original_values_are_handled_for_entity_that_does_full_change_tracking() Null_original_values_are_handled_for_entity_that_does_full_change_tracking()

Null_original_values_are_handled_for_entity_that_does_no_notification() Null_original_values_are_handled_for_entity_that_does_no_notification()

Null_original_values_are_handled_generically_for_entity_that_does_changed_only_notification() Null_original_values_are_handled_generically_for_entity_that_does_changed_only_notification()

Null_original_values_are_handled_generically_for_entity_that_does_full_change_tracking() Null_original_values_are_handled_generically_for_entity_that_does_full_change_tracking()

Null_original_values_are_handled_generically_for_entity_that_does_no_notification() Null_original_values_are_handled_generically_for_entity_that_does_no_notification()

OriginalValuesTest(IModel, IEntityType, Object) OriginalValuesTest(IModel, IEntityType, Object)

Read_only_after_save_properties_throw_if_modified() Read_only_after_save_properties_throw_if_modified()

Read_only_before_save_properties_throw_if_not_null_or_temp() Read_only_before_save_properties_throw_if_not_null_or_temp()

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

Inherited from System.Object

Required_original_values_can_be_accessed_for_entity_that_does_changed_only_notification() Required_original_values_can_be_accessed_for_entity_that_does_changed_only_notification()

Required_original_values_can_be_accessed_for_entity_that_does_full_change_tracking() Required_original_values_can_be_accessed_for_entity_that_does_full_change_tracking()

Required_original_values_can_be_accessed_for_entity_that_does_no_notification() Required_original_values_can_be_accessed_for_entity_that_does_no_notification()

Required_original_values_can_be_accessed_generically_for_entity_that_does_changed_only_notification() Required_original_values_can_be_accessed_generically_for_entity_that_does_changed_only_notification()

Required_original_values_can_be_accessed_generically_for_entity_that_does_full_change_tracking() Required_original_values_can_be_accessed_generically_for_entity_that_does_full_change_tracking()

Required_original_values_can_be_accessed_generically_for_entity_that_does_no_notification() Required_original_values_can_be_accessed_generically_for_entity_that_does_no_notification()

SetPropertyClrTest(TEntity, Boolean) SetPropertyClrTest(Of TEntity)(TEntity, Boolean)

SetPropertyInternalEntityEntryTest(IModel, IEntityType, Object) SetPropertyInternalEntityEntryTest(IModel, IEntityType, Object)

Setting_an_explicit_value_marks_property_as_not_temporary() Setting_an_explicit_value_marks_property_as_not_temporary()

Setting_an_explicit_value_on_the_entity_marks_property_as_not_temporary() Setting_an_explicit_value_on_the_entity_marks_property_as_not_temporary()

public void Setting_an_explicit_value_on_the_entity_marks_property_as_not_temporary()
Public Sub Setting_an_explicit_value_on_the_entity_marks_property_as_not_temporary

Setting_CLR_property_with_changed_only_notifications_does_not_require_DetectChanges() Setting_CLR_property_with_changed_only_notifications_does_not_require_DetectChanges()

public void Setting_CLR_property_with_changed_only_notifications_does_not_require_DetectChanges()
Public Sub Setting_CLR_property_with_changed_only_notifications_does_not_require_DetectChanges

Setting_CLR_property_with_full_notifications_does_not_require_DetectChanges() Setting_CLR_property_with_full_notifications_does_not_require_DetectChanges()

public void Setting_CLR_property_with_full_notifications_does_not_require_DetectChanges()
Public Sub Setting_CLR_property_with_full_notifications_does_not_require_DetectChanges

Setting_CLR_property_with_snapshot_change_tracking_requires_DetectChanges() Setting_CLR_property_with_snapshot_change_tracking_requires_DetectChanges()

public void Setting_CLR_property_with_snapshot_change_tracking_requires_DetectChanges()
Public Sub Setting_CLR_property_with_snapshot_change_tracking_requires_DetectChanges

Setting_property_to_the_same_value_does_not_update_the_snapshot() Setting_property_to_the_same_value_does_not_update_the_snapshot()

Setting_property_using_state_entry_always_marks_as_modified() Setting_property_using_state_entry_always_marks_as_modified()

Store_setting_null_for_non_nullable_store_generated_property_throws() Store_setting_null_for_non_nullable_store_generated_property_throws()

Temporary_values_are_reset_when_entity_is_detached() Temporary_values_are_reset_when_entity_is_detached()

ToString() ToString()

Inherited from System.Object

Unchanged_entity_with_conceptually_null_FK_without_cascade_delete_throws() Unchanged_entity_with_conceptually_null_FK_without_cascade_delete_throws()

Unchanged_entity_with_conceptually_null_FK_with_cascade_delete_is_marked_Deleted() Unchanged_entity_with_conceptually_null_FK_with_cascade_delete_is_marked_Deleted()

Unchanged_entity_with_conceptually_null_non_FK_property_throws() Unchanged_entity_with_conceptually_null_non_FK_property_throws()

Value_generation_does_not_happen_if_property_has_non_default_value() Value_generation_does_not_happen_if_property_has_non_default_value()