StateManager StateManager Class

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.

Syntax

Declaration

public class StateManager : IStateManagerPublic Class StateManager
    Implements IStateManager

Inheritance Hierarchy

  • System.Object
    System.Object
  • StateManager
    StateManager

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()

Constructors summary

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.

Properties summary

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.

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.

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.

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.

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.

Methods summary

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Constructors

Properties

  • ChangedCount
    ChangedCount

    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 int ChangedCount { get; set; }Public Overridable Property ChangedCount As Integer

    Property Value

    • System.Int32
      System.Int32
  • Context
    Context

    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 DbContext Context { get; }Public Overridable ReadOnly Property Context As DbContext

    Property Value

  • Entries
    Entries

    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 IEnumerable<InternalEntityEntry> Entries { get; }Public Overridable ReadOnly Property Entries As IEnumerable(Of InternalEntityEntry)

    Property Value

  • Notify
    Notify

    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 IInternalEntityEntryNotifier Notify { get; }Public Overridable ReadOnly Property Notify As IInternalEntityEntryNotifier

    Property Value

  • ValueGeneration
    ValueGeneration

    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 IValueGenerationManager ValueGeneration { get; }Public Overridable ReadOnly Property ValueGeneration As IValueGenerationManager

    Property Value

Methods

  • AcceptAllChanges()
    AcceptAllChanges()

    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 AcceptAllChanges()Public Overridable Sub AcceptAllChanges
  • BeginTrackingQuery()
    BeginTrackingQuery()

    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 BeginTrackingQuery()Public Overridable Sub BeginTrackingQuery
  • EndSingleQueryMode()
    EndSingleQueryMode()

    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 EndSingleQueryMode()Public Overridable Sub
  • GetDependents(InternalEntityEntry, IForeignKey)
    GetDependents(InternalEntityEntry, 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 IEnumerable<InternalEntityEntry> GetDependents(InternalEntityEntry principalEntry, IForeignKey foreignKey)Public Overridable Function GetDependents(principalEntry As InternalEntityEntry, foreignKey As IForeignKey) As IEnumerable(Of InternalEntityEntry)

    Parameters

    Returns

  • GetDependentsFromNavigation(InternalEntityEntry, IForeignKey)
    GetDependentsFromNavigation(InternalEntityEntry, 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 IEnumerable<InternalEntityEntry> GetDependentsFromNavigation(InternalEntityEntry principalEntry, IForeignKey foreignKey)Public Overridable Function GetDependentsFromNavigation(principalEntry As InternalEntityEntry, foreignKey As IForeignKey) As IEnumerable(Of InternalEntityEntry)

    Parameters

    Returns

  • GetDependentsUsingRelationshipSnapshot(InternalEntityEntry, IForeignKey)
    GetDependentsUsingRelationshipSnapshot(InternalEntityEntry, 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 IEnumerable<InternalEntityEntry> GetDependentsUsingRelationshipSnapshot(InternalEntityEntry principalEntry, IForeignKey foreignKey)Public Overridable Function GetDependentsUsingRelationshipSnapshot(principalEntry As InternalEntityEntry, foreignKey As IForeignKey) As IEnumerable(Of InternalEntityEntry)

    Parameters

    Returns

  • GetOrCreateEntry(Object)
    GetOrCreateEntry(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 InternalEntityEntry GetOrCreateEntry(object entity)Public Overridable Function GetOrCreateEntry(entity As Object) As InternalEntityEntry

    Parameters

    • entity
      System.Object
      System.Object

    Returns

  • GetPrincipal(InternalEntityEntry, IForeignKey)
    GetPrincipal(InternalEntityEntry, 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 InternalEntityEntry GetPrincipal(InternalEntityEntry dependentEntry, IForeignKey foreignKey)Public Overridable Function GetPrincipal(dependentEntry As InternalEntityEntry, foreignKey As IForeignKey) As InternalEntityEntry

    Parameters

    Returns

  • GetPrincipalUsingPreStoreGeneratedValues(InternalEntityEntry, IForeignKey)
    GetPrincipalUsingPreStoreGeneratedValues(InternalEntityEntry, 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 InternalEntityEntry GetPrincipalUsingPreStoreGeneratedValues(InternalEntityEntry dependentEntry, IForeignKey foreignKey)Public Overridable Function GetPrincipalUsingPreStoreGeneratedValues(dependentEntry As InternalEntityEntry, foreignKey As IForeignKey) As InternalEntityEntry

    Parameters

    Returns

  • GetPrincipalUsingRelationshipSnapshot(InternalEntityEntry, IForeignKey)
    GetPrincipalUsingRelationshipSnapshot(InternalEntityEntry, 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 InternalEntityEntry GetPrincipalUsingRelationshipSnapshot(InternalEntityEntry dependentEntry, IForeignKey foreignKey)Public Overridable Function GetPrincipalUsingRelationshipSnapshot(dependentEntry As InternalEntityEntry, foreignKey As IForeignKey) As InternalEntityEntry

    Parameters

    Returns

  • GetRecordedReferers(Object, Boolean)
    GetRecordedReferers(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 IEnumerable<Tuple<INavigation, InternalEntityEntry>> GetRecordedReferers(object referencedEntity, bool clear)Public Overridable Function GetRecordedReferers(referencedEntity As Object, clear As Boolean) As IEnumerable(Of Tuple(Of INavigation, InternalEntityEntry))

    Parameters

    • referencedEntity
      System.Object
      System.Object
    • clear
      System.Boolean
      System.Boolean

    Returns

  • GetTrackingQueryMode(IEntityType)
    GetTrackingQueryMode(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.

    public virtual TrackingQueryMode GetTrackingQueryMode(IEntityType entityType)Public Overridable Function GetTrackingQueryMode(entityType As IEntityType) As TrackingQueryMode

    Parameters

    Returns

  • RecordReferencedUntrackedEntity(Object, INavigation, InternalEntityEntry)
    RecordReferencedUntrackedEntity(Object, INavigation, InternalEntityEntry)

    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 RecordReferencedUntrackedEntity(object referencedEntity, INavigation navigation, InternalEntityEntry referencedFromEntry)Public Overridable Sub RecordReferencedUntrackedEntity(referencedEntity As Object, navigation As INavigation, referencedFromEntry As InternalEntityEntry)

    Parameters

  • SaveChanges(Boolean)
    SaveChanges(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 int SaveChanges(bool acceptAllChangesOnSuccess)Public Overridable Function SaveChanges(acceptAllChangesOnSuccess As Boolean) As Integer

    Parameters

    • acceptAllChangesOnSuccess
      System.Boolean
      System.Boolean

    Returns

    • System.Int32
      System.Int32
  • SaveChanges(IReadOnlyList<InternalEntityEntry>)
    SaveChanges(IReadOnlyList(Of InternalEntityEntry))

    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 int SaveChanges(IReadOnlyList<InternalEntityEntry> entriesToSave)Protected Overridable Function SaveChanges(entriesToSave As IReadOnlyList(Of InternalEntityEntry)) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32
  • SaveChangesAsync(Boolean, CancellationToken)
    SaveChangesAsync(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<int> SaveChangesAsync(bool acceptAllChangesOnSuccess, CancellationToken cancellationToken = null)Public Overridable Function SaveChangesAsync(acceptAllChangesOnSuccess As Boolean, cancellationToken As CancellationToken = Nothing) As Task(Of Integer)

    Parameters

    • acceptAllChangesOnSuccess
      System.Boolean
      System.Boolean
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task<TResult><System.Int32>
      System.Threading.Tasks.Task<TResult>(Of System.Int32)
  • SaveChangesAsync(IReadOnlyList<InternalEntityEntry>, CancellationToken)
    SaveChangesAsync(IReadOnlyList(Of InternalEntityEntry), 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.

    protected virtual Task<int> SaveChangesAsync(IReadOnlyList<InternalEntityEntry> entriesToSave, CancellationToken cancellationToken = null)Protected Overridable Function SaveChangesAsync(entriesToSave As IReadOnlyList(Of InternalEntityEntry), cancellationToken As CancellationToken = Nothing) As Task(Of Integer)

    Parameters

    • entriesToSave
      System.Collections.Generic.IReadOnlyList<T><InternalEntityEntry>
      System.Collections.Generic.IReadOnlyList<T>(Of InternalEntityEntry)
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task<TResult><System.Int32>
      System.Threading.Tasks.Task<TResult>(Of System.Int32)
  • StartTracking(InternalEntityEntry)
    StartTracking(InternalEntityEntry)

    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 StartTracking(InternalEntityEntry entry)Public Overridable Function StartTracking(entry As InternalEntityEntry) As InternalEntityEntry

    Parameters

    Returns

  • StartTrackingFromQuery(IEntityType, Object, ValueBuffer, ISet<IForeignKey>)
    StartTrackingFromQuery(IEntityType, Object, ValueBuffer, 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 InternalEntityEntry StartTrackingFromQuery(IEntityType baseEntityType, object entity, ValueBuffer valueBuffer, ISet<IForeignKey> handledForeignKeys)Public Overridable Function StartTrackingFromQuery(baseEntityType As IEntityType, entity As Object, valueBuffer As ValueBuffer, handledForeignKeys As ISet(Of IForeignKey)) As InternalEntityEntry

    Parameters

    Returns

  • StopTracking(InternalEntityEntry)
    StopTracking(InternalEntityEntry)

    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 StopTracking(InternalEntityEntry entry)Public Overridable Sub StopTracking(entry As InternalEntityEntry)

    Parameters

  • TryGetEntry(IKey, ValueBuffer, Boolean)
    TryGetEntry(IKey, ValueBuffer, 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 InternalEntityEntry TryGetEntry(IKey key, ValueBuffer valueBuffer, bool throwOnNullKey)Public Overridable Function TryGetEntry(key As IKey, valueBuffer As ValueBuffer, throwOnNullKey As Boolean) As InternalEntityEntry

    Parameters

    Returns

  • TryGetEntry(IKey, Object[])
    TryGetEntry(IKey, 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 InternalEntityEntry TryGetEntry(IKey key, object[] keyValues)Public Overridable Function TryGetEntry(key As IKey, keyValues As Object()) As InternalEntityEntry

    Parameters

    • key
    • keyValues
      System.Object[]
      System.Object()

    Returns

  • TryGetEntry(Object)
    TryGetEntry(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 InternalEntityEntry TryGetEntry(object entity)Public Overridable Function TryGetEntry(entity As Object) As InternalEntityEntry

    Parameters

    • entity
      System.Object
      System.Object

    Returns

  • Unsubscribe()
    Unsubscribe()

    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 Unsubscribe()Public Overridable Sub Unsubscribe
  • UpdateDependentMap(InternalEntityEntry, IForeignKey)
    UpdateDependentMap(InternalEntityEntry, 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 UpdateDependentMap(InternalEntityEntry entry, IForeignKey foreignKey)Public Overridable Sub UpdateDependentMap(entry As InternalEntityEntry, foreignKey As IForeignKey)

    Parameters

  • UpdateIdentityMap(InternalEntityEntry, IKey)
    UpdateIdentityMap(InternalEntityEntry, IKey)

    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 UpdateIdentityMap(InternalEntityEntry entry, IKey key)Public Overridable Sub UpdateIdentityMap(entry As InternalEntityEntry, key As IKey)

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.dll