InternalEntityEntry InternalEntityEntry Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public abstract class InternalEntityEntry : IUpdateEntry
Public MustInherit Class InternalEntityEntry
    Implements IUpdateEntry
Inheritance
System.ObjectSystem.Object
InternalEntityEntryInternalEntityEntry
Implements

Constructors

InternalEntityEntry(IStateManager, IEntityType) InternalEntityEntry(IStateManager, IEntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected InternalEntityEntry(IStateManager stateManager, IEntityType entityType)
Protected Sub New(stateManager As IStateManager, entityType As IEntityType)
Parameters

Properties

Entity Entity

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public abstract object Entity { get; }
Public MustOverride ReadOnly Property Entity As Object
Value
System.Object System.Object

EntityState EntityState

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual EntityState EntityState { get; }
Public Overridable ReadOnly Property EntityState As EntityState

EntityType EntityType

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IEntityType EntityType { get; }
Public Overridable ReadOnly Property EntityType As IEntityType

HasConceptualNull HasConceptualNull

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool HasConceptualNull { get; }
Public Overridable ReadOnly Property HasConceptualNull As Boolean
Value
System.Boolean System.Boolean

HasOriginalValuesSnapshot HasOriginalValuesSnapshot

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool HasOriginalValuesSnapshot { get; }
Public Overridable ReadOnly Property HasOriginalValuesSnapshot As Boolean
Value
System.Boolean System.Boolean

HasRelationshipSnapshot HasRelationshipSnapshot

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool HasRelationshipSnapshot { get; }
Public Overridable ReadOnly Property HasRelationshipSnapshot As Boolean
Value
System.Boolean System.Boolean

IsKeySet IsKeySet

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsKeySet { get; }
Public Overridable ReadOnly Property IsKeySet As Boolean
Value
System.Boolean System.Boolean

Item[IPropertyBase] Item(IPropertyBase)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual object this[IPropertyBase propertyBase] { get; set; }
Public Overridable Property Item(propertyBase As IPropertyBase) As Object
Parameters
Value
System.Object System.Object

StateManager StateManager

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IStateManager StateManager { get; }
Public Overridable ReadOnly Property StateManager As IStateManager

Methods

AcceptChanges() AcceptChanges()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void AcceptChanges()
Public Overridable Sub AcceptChanges

AddRangeToCollectionSnapshot(IPropertyBase, IEnumerable) AddRangeToCollectionSnapshot(IPropertyBase, IEnumerable(Of Object))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void AddRangeToCollectionSnapshot(IPropertyBase propertyBase, IEnumerable<object> addedEntities)
Public Overridable Sub AddRangeToCollectionSnapshot(propertyBase As IPropertyBase, addedEntities As IEnumerable(Of Object))
Parameters
addedEntities
System.Collections.Generic.IEnumerable<System.Object> System.Collections.Generic.IEnumerable(Of System.Object)

AddToCollectionSnapshot(IPropertyBase, Object) AddToCollectionSnapshot(IPropertyBase, Object)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void AddToCollectionSnapshot(IPropertyBase propertyBase, object addedEntity)
Public Overridable Sub AddToCollectionSnapshot(propertyBase As IPropertyBase, addedEntity As Object)
Parameters
addedEntity
System.Object System.Object

CascadeDelete() CascadeDelete()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void CascadeDelete()
Public Overridable Sub CascadeDelete

DiscardStoreGeneratedValues() DiscardStoreGeneratedValues()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void DiscardStoreGeneratedValues()
Public Overridable Sub DiscardStoreGeneratedValues

EnsureOriginalValues() EnsureOriginalValues()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void EnsureOriginalValues()
Public Overridable Sub EnsureOriginalValues

EnsureRelationshipSnapshot() EnsureRelationshipSnapshot()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void EnsureRelationshipSnapshot()
Public Overridable Sub EnsureRelationshipSnapshot

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetCurrentValue(IPropertyBase) GetCurrentValue(IPropertyBase)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual object GetCurrentValue(IPropertyBase propertyBase)
Public Overridable Function GetCurrentValue(propertyBase As IPropertyBase) As Object
Parameters
Returns
System.Object System.Object

GetCurrentValue(IPropertyBase) GetCurrentValue(Of TProperty)(IPropertyBase)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual TProperty GetCurrentValue<TProperty>(IPropertyBase propertyBase)
Public Overridable Function GetCurrentValue(Of TProperty)(propertyBase As IPropertyBase) As TProperty
Type Parameters
TProperty
Parameters
Returns
TProperty TProperty

GetHashCode() GetHashCode()

Inherited from System.Object

GetOriginalValue(IPropertyBase) GetOriginalValue(IPropertyBase)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual object GetOriginalValue(IPropertyBase propertyBase)
Public Overridable Function GetOriginalValue(propertyBase As IPropertyBase) As Object
Parameters
Returns
System.Object System.Object

GetOriginalValue(IProperty) GetOriginalValue(Of TProperty)(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual TProperty GetOriginalValue<TProperty>(IProperty property)
Public Overridable Function GetOriginalValue(Of TProperty)(property As IProperty) As TProperty
Type Parameters
TProperty
Parameters
property
IProperty IProperty
Returns
TProperty TProperty

GetPreStoreGeneratedCurrentValue(IPropertyBase) GetPreStoreGeneratedCurrentValue(IPropertyBase)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual object GetPreStoreGeneratedCurrentValue(IPropertyBase propertyBase)
Public Overridable Function GetPreStoreGeneratedCurrentValue(propertyBase As IPropertyBase) As Object
Parameters
Returns
System.Object System.Object

GetRelationshipSnapshotValue(IPropertyBase) GetRelationshipSnapshotValue(IPropertyBase)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual object GetRelationshipSnapshotValue(IPropertyBase propertyBase)
Public Overridable Function GetRelationshipSnapshotValue(propertyBase As IPropertyBase) As Object
Parameters
Returns
System.Object System.Object

GetRelationshipSnapshotValue(IPropertyBase) GetRelationshipSnapshotValue(Of TProperty)(IPropertyBase)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual TProperty GetRelationshipSnapshotValue<TProperty>(IPropertyBase propertyBase)
Public Overridable Function GetRelationshipSnapshotValue(Of TProperty)(propertyBase As IPropertyBase) As TProperty
Type Parameters
TProperty
Parameters
Returns
TProperty TProperty

GetType() GetType()

Inherited from System.Object

HandleConceptualNulls() HandleConceptualNulls()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void HandleConceptualNulls()
Public Overridable Sub HandleConceptualNulls

HandleINotifyCollectionChanged(Object, NotifyCollectionChangedEventArgs) HandleINotifyCollectionChanged(Object, NotifyCollectionChangedEventArgs)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void HandleINotifyCollectionChanged(object sender, NotifyCollectionChangedEventArgs eventArgs)
Public Overridable Sub HandleINotifyCollectionChanged(sender As Object, eventArgs As NotifyCollectionChangedEventArgs)
Parameters
sender
System.Object System.Object
eventArgs
NotifyCollectionChangedEventArgs NotifyCollectionChangedEventArgs

HandleINotifyPropertyChanged(Object, PropertyChangedEventArgs) HandleINotifyPropertyChanged(Object, PropertyChangedEventArgs)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void HandleINotifyPropertyChanged(object sender, PropertyChangedEventArgs eventArgs)
Public Overridable Sub HandleINotifyPropertyChanged(sender As Object, eventArgs As PropertyChangedEventArgs)
Parameters
sender
System.Object System.Object
eventArgs
PropertyChangedEventArgs PropertyChangedEventArgs

HandleINotifyPropertyChanging(Object, PropertyChangingEventArgs) HandleINotifyPropertyChanging(Object, PropertyChangingEventArgs)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void HandleINotifyPropertyChanging(object sender, PropertyChangingEventArgs eventArgs)
Public Overridable Sub HandleINotifyPropertyChanging(sender As Object, eventArgs As PropertyChangingEventArgs)
Parameters
sender
System.Object System.Object
eventArgs
PropertyChangingEventArgs PropertyChangingEventArgs

HasTemporaryValue(IProperty) HasTemporaryValue(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool HasTemporaryValue(IProperty property)
Public Overridable Function HasTemporaryValue(property As IProperty) As Boolean
Parameters
property
IProperty IProperty
Returns
System.Boolean System.Boolean

IsConceptualNull(IProperty) IsConceptualNull(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsConceptualNull(IProperty property)
Public Overridable Function IsConceptualNull(property As IProperty) As Boolean
Parameters
property
IProperty IProperty
Returns
System.Boolean System.Boolean

IsLoaded(INavigation) IsLoaded(INavigation)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsLoaded(INavigation navigation)
Public Overridable Function IsLoaded(navigation As INavigation) As Boolean
Parameters
Returns
System.Boolean System.Boolean

IsModified(IProperty) IsModified(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsModified(IProperty property)
Public Overridable Function IsModified(property As IProperty) As Boolean
Parameters
property
IProperty IProperty
Returns
System.Boolean System.Boolean

IsStoreGenerated(IProperty) IsStoreGenerated(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsStoreGenerated(IProperty property)
Public Overridable Function IsStoreGenerated(property As IProperty) As Boolean
Parameters
property
IProperty IProperty
Returns
System.Boolean System.Boolean

MarkAsTemporary(IProperty, Boolean) MarkAsTemporary(IProperty, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void MarkAsTemporary(IProperty property, bool isTemporary = true)
Public Overridable Sub MarkAsTemporary(property As IProperty, isTemporary As Boolean = True)
Parameters
property
IProperty IProperty
isTemporary
System.Boolean System.Boolean

MarkShadowPropertiesNotSet(IEntityType) MarkShadowPropertiesNotSet(IEntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual void MarkShadowPropertiesNotSet(IEntityType entityType)
Protected Overridable Sub MarkShadowPropertiesNotSet(entityType As IEntityType)
Parameters

MarkUnchangedFromQuery(ISet) MarkUnchangedFromQuery(ISet(Of IForeignKey))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void MarkUnchangedFromQuery(ISet<IForeignKey> handledForeignKeys)
Public Overridable Sub MarkUnchangedFromQuery(handledForeignKeys As ISet(Of IForeignKey))
Parameters
handledForeignKeys
ISet<IForeignKey> ISet(Of IForeignKey)

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

PrepareToSave() PrepareToSave()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalEntityEntry PrepareToSave()
Public Overridable Function PrepareToSave As InternalEntityEntry
Returns

ReadPropertyValue(IPropertyBase) ReadPropertyValue(IPropertyBase)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual object ReadPropertyValue(IPropertyBase propertyBase)
Protected Overridable Function ReadPropertyValue(propertyBase As IPropertyBase) As Object
Parameters
Returns
System.Object System.Object

ReadShadowValue(Int32) ReadShadowValue(Of T)(Int32)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual T ReadShadowValue<T>(int shadowIndex)
Protected Overridable Function ReadShadowValue(Of T)(shadowIndex As Integer) As T
Type Parameters
T
Parameters
shadowIndex
System.Int32 System.Int32
Returns
T T

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

Inherited from System.Object

RemoveFromCollectionSnapshot(IPropertyBase, Object) RemoveFromCollectionSnapshot(IPropertyBase, Object)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void RemoveFromCollectionSnapshot(IPropertyBase propertyBase, object removedEntity)
Public Overridable Sub RemoveFromCollectionSnapshot(propertyBase As IPropertyBase, removedEntity As Object)
Parameters
removedEntity
System.Object System.Object

SetCurrentValue(IPropertyBase, Object) SetCurrentValue(IPropertyBase, Object)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetCurrentValue(IPropertyBase propertyBase, object value)
Public Overridable Sub SetCurrentValue(propertyBase As IPropertyBase, value As Object)
Parameters
value
System.Object System.Object

SetEntityState(EntityState, Boolean) SetEntityState(EntityState, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetEntityState(EntityState entityState, bool acceptChanges = false)
Public Overridable Sub SetEntityState(entityState As EntityState, acceptChanges As Boolean = False)
Parameters
entityState
EntityState EntityState
acceptChanges
System.Boolean System.Boolean

SetEntityStateAsync(EntityState, Boolean, CancellationToken) SetEntityStateAsync(EntityState, Boolean, CancellationToken)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Task SetEntityStateAsync(EntityState entityState, bool acceptChanges, CancellationToken cancellationToken = null)
Public Overridable Function SetEntityStateAsync(entityState As EntityState, acceptChanges As Boolean, cancellationToken As CancellationToken = Nothing) As Task
Parameters
entityState
EntityState EntityState
acceptChanges
System.Boolean System.Boolean
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task

SetIsLoaded(INavigation, Boolean) SetIsLoaded(INavigation, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetIsLoaded(INavigation navigation, bool loaded = true)
Public Overridable Sub SetIsLoaded(navigation As INavigation, loaded As Boolean = True)
Parameters
loaded
System.Boolean System.Boolean

SetOriginalValue(IPropertyBase, Object, Int32) SetOriginalValue(IPropertyBase, Object, Int32)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetOriginalValue(IPropertyBase propertyBase, object value, int index = -1)
Public Overridable Sub SetOriginalValue(propertyBase As IPropertyBase, value As Object, index As Integer = -1)
Parameters
value
System.Object System.Object
index
System.Int32 System.Int32

SetProperty(IPropertyBase, Object, Boolean) SetProperty(IPropertyBase, Object, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetProperty(IPropertyBase propertyBase, object value, bool setModified = true)
Public Overridable Sub SetProperty(propertyBase As IPropertyBase, value As Object, setModified As Boolean = True)
Parameters
value
System.Object System.Object
setModified
System.Boolean System.Boolean

SetPropertyModified(IProperty, Boolean, Boolean, Boolean) SetPropertyModified(IProperty, Boolean, Boolean, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetPropertyModified(IProperty property, bool changeState = true, bool isModified = true, bool isConceptualNull = false)
Public Overridable Sub SetPropertyModified(property As IProperty, changeState As Boolean = True, isModified As Boolean = True, isConceptualNull As Boolean = False)
Parameters
property
IProperty IProperty
changeState
System.Boolean System.Boolean
isModified
System.Boolean System.Boolean
isConceptualNull
System.Boolean System.Boolean

SetRelationshipSnapshotValue(IPropertyBase, Object) SetRelationshipSnapshotValue(IPropertyBase, Object)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetRelationshipSnapshotValue(IPropertyBase propertyBase, object value)
Public Overridable Sub SetRelationshipSnapshotValue(propertyBase As IPropertyBase, value As Object)
Parameters
value
System.Object System.Object

ToEntityEntry() ToEntityEntry()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual EntityEntry ToEntityEntry()
Public Overridable Function ToEntityEntry As EntityEntry
Returns

ToString() ToString()

Inherited from System.Object

WritePropertyValue(IPropertyBase, Object) WritePropertyValue(IPropertyBase, Object)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual void WritePropertyValue(IPropertyBase propertyBase, object value)
Protected Overridable Sub WritePropertyValue(propertyBase As IPropertyBase, value As Object)
Parameters
value
System.Object System.Object