InternalEntityEntryTestBase InternalEntityEntryTestBase Class

Syntax

Declaration

public abstract class InternalEntityEntryTestBasePublic MustInherit Class InternalEntityEntryTestBase

Inheritance Hierarchy

  • System.Object
    System.Object
  • InternalEntityEntryTestBase
    InternalEntityEntryTestBase

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

  • AcceptChanges_detaches_Deleted_entities()
    AcceptChanges_detaches_Deleted_entities()
    public virtual void AcceptChanges_detaches_Deleted_entities()Public Overridable Sub AcceptChanges_detaches_Deleted_entities
  • AcceptChanges_does_nothing_for_unchanged_entities()
    AcceptChanges_does_nothing_for_unchanged_entities()
    public virtual void AcceptChanges_does_nothing_for_unchanged_entities()Public Overridable Sub AcceptChanges_does_nothing_for_unchanged_entities
  • AcceptChanges_does_nothing_for_unknown_entities()
    AcceptChanges_does_nothing_for_unknown_entities()
    public virtual void AcceptChanges_does_nothing_for_unknown_entities()Public Overridable Sub AcceptChanges_does_nothing_for_unknown_entities
  • AcceptChanges_makes_Added_entities_Unchanged()
    AcceptChanges_makes_Added_entities_Unchanged()
    public virtual void AcceptChanges_makes_Added_entities_Unchanged()Public Overridable Sub 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()
    public virtual void AcceptChanges_makes_Modified_entities_Unchanged_and_effectively_resets_unused_original_values()Public Overridable Sub 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()
    public virtual void AcceptChanges_makes_Modified_entities_Unchanged_and_resets_used_original_values()Public Overridable Sub AcceptChanges_makes_Modified_entities_Unchanged_and_resets_used_original_values
  • Added_entities_can_have_temporary_values()
    Added_entities_can_have_temporary_values()
    public virtual void Added_entities_can_have_temporary_values()Public Overridable Sub 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()
    public void Added_entity_with_conceptually_null_FK_with_cascade_delete_is_detached()Public Sub Added_entity_with_conceptually_null_FK_with_cascade_delete_is_detached
  • 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()
    public virtual void All_original_values_can_be_accessed_for_entity_that_does_full_change_tracking_if_eager_values_on()Public Overridable Sub All_original_values_can_be_accessed_for_entity_that_does_full_change_tracking_if_eager_values_on
  • AllOriginalValuesTest(IModel, IEntityType, Object)
    AllOriginalValuesTest(IModel, IEntityType, Object)
    protected void AllOriginalValuesTest(IModel model, IEntityType entityType, object entity)Protected Sub AllOriginalValuesTest(model As IModel, entityType As IEntityType, entity As Object)

    Parameters

  • BuildModel()
    BuildModel()
    protected virtual Model BuildModel()Protected Overridable Function BuildModel As Model

    Returns

  • Can_get_property_value_after_creation_from_value_buffer()
    Can_get_property_value_after_creation_from_value_buffer()
    public virtual void Can_get_property_value_after_creation_from_value_buffer()Public Overridable Sub Can_get_property_value_after_creation_from_value_buffer
  • Can_get_value_buffer_from_properties()
    Can_get_value_buffer_from_properties()
    public virtual void Can_get_value_buffer_from_properties()Public Overridable Sub Can_get_value_buffer_from_properties
  • Can_set_and_get_property_values()
    Can_set_and_get_property_values()
    public virtual void Can_set_and_get_property_values()Public Overridable Sub Can_set_and_get_property_values
  • Can_set_and_get_property_values_genericly()
    Can_set_and_get_property_values_genericly()
    public virtual void Can_set_and_get_property_values_genericly()Public Overridable Sub Can_set_and_get_property_values_genericly
  • Can_set_property_value_after_creation_from_value_buffer()
    Can_set_property_value_after_creation_from_value_buffer()
    public virtual void Can_set_property_value_after_creation_from_value_buffer()Public Overridable Sub 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()
    public virtual void Changing_state_from_Added_to_Deleted_does_what_you_ask()Public Overridable Sub 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()
    public virtual void Changing_state_from_Unknown_causes_entity_to_start_tracking()Public Overridable Sub 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()
    public virtual void Changing_state_to_Added_triggers_value_generation_for_any_property()Public Overridable Sub 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()
    public virtual void Changing_state_to_Modified_or_Unchanged_causes_all_properties_to_be_marked_accordingly()Public Overridable Sub 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()
    public virtual void Changing_state_to_Unknown_causes_entity_to_stop_tracking()Public Overridable Sub Changing_state_to_Unknown_causes_entity_to_stop_tracking
  • Changing_state_with_temp_value_throws(EntityState)
    Changing_state_with_temp_value_throws(EntityState)
    public virtual void Changing_state_with_temp_value_throws(EntityState targetState)Public Overridable Sub Changing_state_with_temp_value_throws(targetState As EntityState)

    Parameters

  • CreateInternalEntry(IServiceProvider, IEntityType, Object)
    CreateInternalEntry(IServiceProvider, IEntityType, Object)
    protected virtual InternalEntityEntry CreateInternalEntry(IServiceProvider contextServices, IEntityType entityType, object entity)Protected Overridable Function CreateInternalEntry(contextServices As IServiceProvider, entityType As IEntityType, entity As Object) As InternalEntityEntry

    Parameters

    • contextServices
      System.IServiceProvider
      System.IServiceProvider
    • entityType
    • entity
      System.Object
      System.Object

    Returns

  • CreateInternalEntry(IServiceProvider, IEntityType, Object, ValueBuffer)
    CreateInternalEntry(IServiceProvider, IEntityType, Object, ValueBuffer)
    protected virtual InternalEntityEntry CreateInternalEntry(IServiceProvider contextServices, IEntityType entityType, object entity, ValueBuffer valueBuffer)Protected Overridable Function CreateInternalEntry(contextServices As IServiceProvider, entityType As IEntityType, entity As Object, valueBuffer As ValueBuffer) As InternalEntityEntry

    Parameters

    Returns

  • Detaching_with_temp_values_does_not_throw()
    Detaching_with_temp_values_does_not_throw()
    public virtual void Detaching_with_temp_values_does_not_throw()Public Overridable Sub Detaching_with_temp_values_does_not_throw
  • Entity_with_partially_null_composite_FK_with_cascade_delete_is_marked_Deleted()
    Entity_with_partially_null_composite_FK_with_cascade_delete_is_marked_Deleted()
    public void Entity_with_partially_null_composite_FK_with_cascade_delete_is_marked_Deleted()Public Sub Entity_with_partially_null_composite_FK_with_cascade_delete_is_marked_Deleted
  • Entity_with_partially_null_composite_FK_without_cascade_delete_is_orphaned()
    Entity_with_partially_null_composite_FK_without_cascade_delete_is_orphaned()
    public void Entity_with_partially_null_composite_FK_without_cascade_delete_is_orphaned()Public Sub Entity_with_partially_null_composite_FK_without_cascade_delete_is_orphaned
  • GenericNullOriginalValuesTest(IModel, IEntityType, Object)
    GenericNullOriginalValuesTest(IModel, IEntityType, Object)
    protected void GenericNullOriginalValuesTest(IModel model, IEntityType entityType, object entity)Protected Sub GenericNullOriginalValuesTest(model As IModel, entityType As IEntityType, entity As Object)

    Parameters

  • GenericOriginalValuesTest(IModel, IEntityType, Object)
    GenericOriginalValuesTest(IModel, IEntityType, Object)
    protected void GenericOriginalValuesTest(IModel model, IEntityType entityType, object entity)Protected Sub GenericOriginalValuesTest(model As IModel, entityType As IEntityType, entity As Object)

    Parameters

  • Key_properties_share_value_generation_space_with_base()
    Key_properties_share_value_generation_space_with_base()
    public virtual void Key_properties_share_value_generation_space_with_base()Public Overridable Sub Key_properties_share_value_generation_space_with_base
  • Key_properties_throw_immediately_if_modified()
    Key_properties_throw_immediately_if_modified()
    public virtual void Key_properties_throw_immediately_if_modified()Public Overridable Sub Key_properties_throw_immediately_if_modified
  • Modified_values_are_reset_when_entity_is_changed_to_Added()
    Modified_values_are_reset_when_entity_is_changed_to_Added()
    public virtual void Modified_values_are_reset_when_entity_is_changed_to_Added()Public Overridable Sub 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()
    public virtual void Non_transparent_sidecar_does_not_intercept_normal_property_read_and_write()Public Overridable Sub 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()
    public virtual void Notification_that_an_FK_property_has_changed_updates_the_snapshot()Public Overridable Sub Notification_that_an_FK_property_has_changed_updates_the_snapshot
  • Null_original_values_are_handled_for_entity_that_does_changed_only_notification()
    Null_original_values_are_handled_for_entity_that_does_changed_only_notification()
    public virtual void Null_original_values_are_handled_for_entity_that_does_changed_only_notification()Public Overridable Sub 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()
    public virtual void Null_original_values_are_handled_for_entity_that_does_full_change_tracking()Public Overridable Sub 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()
    public virtual void Null_original_values_are_handled_for_entity_that_does_no_notification()Public Overridable Sub 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()
    public virtual void Null_original_values_are_handled_generically_for_entity_that_does_changed_only_notification()Public Overridable Sub 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()
    public virtual void Null_original_values_are_handled_generically_for_entity_that_does_full_change_tracking()Public Overridable Sub 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()
    public virtual void Null_original_values_are_handled_generically_for_entity_that_does_no_notification()Public Overridable Sub Null_original_values_are_handled_generically_for_entity_that_does_no_notification
  • NullOriginalValuesTest(IModel, IEntityType, Object)
    NullOriginalValuesTest(IModel, IEntityType, Object)
    protected void NullOriginalValuesTest(IModel model, IEntityType entityType, object entity)Protected Sub NullOriginalValuesTest(model As IModel, entityType As IEntityType, entity As Object)

    Parameters

  • OriginalValuesTest(IModel, IEntityType, Object)
    OriginalValuesTest(IModel, IEntityType, Object)
    protected void OriginalValuesTest(IModel model, IEntityType entityType, object entity)Protected Sub OriginalValuesTest(model As IModel, entityType As IEntityType, entity As Object)

    Parameters

  • Read_only_after_save_properties_throw_if_modified()
    Read_only_after_save_properties_throw_if_modified()
    public virtual void Read_only_after_save_properties_throw_if_modified()Public Overridable Sub 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()
    public virtual void Read_only_before_save_properties_throw_if_not_null_or_temp()Public Overridable Sub Read_only_before_save_properties_throw_if_not_null_or_temp
  • 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()
    public virtual void Required_original_values_can_be_accessed_for_entity_that_does_changed_only_notification()Public Overridable Sub 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()
    public virtual void Required_original_values_can_be_accessed_for_entity_that_does_full_change_tracking()Public Overridable Sub 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()
    public virtual void Required_original_values_can_be_accessed_for_entity_that_does_no_notification()Public Overridable Sub 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()
    public virtual void Required_original_values_can_be_accessed_generically_for_entity_that_does_changed_only_notification()Public Overridable Sub 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()
    public virtual void Required_original_values_can_be_accessed_generically_for_entity_that_does_full_change_tracking()Public Overridable Sub 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()
    public virtual void Required_original_values_can_be_accessed_generically_for_entity_that_does_no_notification()Public Overridable Sub Required_original_values_can_be_accessed_generically_for_entity_that_does_no_notification
  • SetPropertyClrTest<TEntity>(TEntity, Boolean)
    SetPropertyClrTest(Of TEntity)(TEntity, Boolean)
    protected void SetPropertyClrTest<TEntity>(TEntity entity, bool needsDetectChanges)where TEntity : InternalEntityEntryTestBase.ISomeEntityProtected Sub SetPropertyClrTest(Of TEntity As InternalEntityEntryTestBase.ISomeEntity)(entity As TEntity, needsDetectChanges As Boolean)

    Parameters

    • entity
      TEntity
      TEntity
    • needsDetectChanges
      System.Boolean
      System.Boolean
  • SetPropertyInternalEntityEntryTest(IModel, IEntityType, Object)
    SetPropertyInternalEntityEntryTest(IModel, IEntityType, Object)
    protected void SetPropertyInternalEntityEntryTest(IModel model, IEntityType entityType, object entity)Protected Sub SetPropertyInternalEntityEntryTest(model As IModel, entityType As IEntityType, entity As Object)

    Parameters

  • Setting_an_explicit_value_marks_property_as_not_temporary()
    Setting_an_explicit_value_marks_property_as_not_temporary()
    public virtual void Setting_an_explicit_value_marks_property_as_not_temporary()Public Overridable Sub Setting_an_explicit_value_marks_property_as_not_temporary
  • Setting_property_to_the_same_value_does_not_update_the_snapshot()
    Setting_property_to_the_same_value_does_not_update_the_snapshot()
    public virtual void Setting_property_to_the_same_value_does_not_update_the_snapshot()Public Overridable Sub 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()
    public virtual void Setting_property_using_state_entry_always_marks_as_modified()Public Overridable Sub 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()
    public virtual void Store_setting_null_for_non_nullable_store_generated_property_throws()Public Overridable Sub 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()
    public virtual void Temporary_values_are_reset_when_entity_is_detached()Public Overridable Sub Temporary_values_are_reset_when_entity_is_detached
  • Unchanged_entity_with_conceptually_null_FK_with_cascade_delete_is_marked_Deleted()
    Unchanged_entity_with_conceptually_null_FK_with_cascade_delete_is_marked_Deleted()
    public void Unchanged_entity_with_conceptually_null_FK_with_cascade_delete_is_marked_Deleted()Public Sub Unchanged_entity_with_conceptually_null_FK_with_cascade_delete_is_marked_Deleted
  • Unchanged_entity_with_conceptually_null_FK_without_cascade_delete_throws()
    Unchanged_entity_with_conceptually_null_FK_without_cascade_delete_throws()
    public void Unchanged_entity_with_conceptually_null_FK_without_cascade_delete_throws()Public Sub Unchanged_entity_with_conceptually_null_FK_without_cascade_delete_throws
  • Unchanged_entity_with_conceptually_null_non_FK_property_throws()
    Unchanged_entity_with_conceptually_null_non_FK_property_throws()
    public void Unchanged_entity_with_conceptually_null_non_FK_property_throws()Public Sub 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()
    public virtual void Value_generation_does_not_happen_if_property_has_non_default_value()Public Overridable Sub Value_generation_does_not_happen_if_property_has_non_default_value

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll