IStateManager IStateManager Interface

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 interface IStateManagerPublic Interface IStateManager

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.

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.

    int ChangedCount { get; set; }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.

    DbContext Context { get; }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.

    IEnumerable<InternalEntityEntry> Entries { get; }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.

    IInternalEntityEntryNotifier Notify { get; }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.

    IValueGenerationManager ValueGeneration { get; }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.

    void AcceptAllChanges()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.

    void BeginTrackingQuery()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.

    void EndSingleQueryMode()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.

    IEnumerable<InternalEntityEntry> GetDependents(InternalEntityEntry principalEntry, IForeignKey foreignKey)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.

    IEnumerable<InternalEntityEntry> GetDependentsFromNavigation(InternalEntityEntry principalEntry, IForeignKey foreignKey)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.

    IEnumerable<InternalEntityEntry> GetDependentsUsingRelationshipSnapshot(InternalEntityEntry principalEntry, IForeignKey foreignKey)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.

    InternalEntityEntry GetOrCreateEntry(object entity)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.

    InternalEntityEntry GetPrincipal(InternalEntityEntry dependentEntry, IForeignKey foreignKey)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.

    InternalEntityEntry GetPrincipalUsingPreStoreGeneratedValues(InternalEntityEntry dependentEntry, IForeignKey foreignKey)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.

    InternalEntityEntry GetPrincipalUsingRelationshipSnapshot(InternalEntityEntry dependentEntry, IForeignKey foreignKey)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.

    IEnumerable<Tuple<INavigation, InternalEntityEntry>> GetRecordedReferers(object referencedEntity, bool clear)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.

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

    void RecordReferencedUntrackedEntity(object referencedEntity, INavigation navigation, InternalEntityEntry referencedFromEntry)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.

    int SaveChanges(bool acceptAllChangesOnSuccess)Function SaveChanges(acceptAllChangesOnSuccess As Boolean) As Integer

    Parameters

    • acceptAllChangesOnSuccess
      System.Boolean
      System.Boolean

    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.

    Task<int> SaveChangesAsync(bool acceptAllChangesOnSuccess, CancellationToken cancellationToken = null)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)
  • 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.

    InternalEntityEntry StartTracking(InternalEntityEntry entry)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.

    InternalEntityEntry StartTrackingFromQuery(IEntityType baseEntityType, object entity, ValueBuffer valueBuffer, ISet<IForeignKey> handledForeignKeys)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.

    void StopTracking(InternalEntityEntry entry)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.

    InternalEntityEntry TryGetEntry(IKey key, ValueBuffer valueBuffer, bool throwOnNullKey)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.

    InternalEntityEntry TryGetEntry(IKey key, object[] keyValues)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.

    InternalEntityEntry TryGetEntry(object entity)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.

    void Unsubscribe()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.

    void UpdateDependentMap(InternalEntityEntry entry, IForeignKey foreignKey)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.

    void UpdateIdentityMap(InternalEntityEntry entry, IKey principalKey)Sub UpdateIdentityMap(entry As InternalEntityEntry, principalKey As IKey)

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.dll