Share via


ChangeTracker Constructors

Definition

Overloads

ChangeTracker(DbContext)

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.

ChangeTracker(IStateManager, IChangeDetector, IEntityEntryGraphIterator, DbContext)

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.

ChangeTracker(DbContext, IStateManager, IChangeDetector, IModel, IEntityEntryGraphIterator)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

ChangeTracker(DbContext)

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 ChangeTracker (Microsoft.EntityFrameworkCore.DbContext context);
new Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker : Microsoft.EntityFrameworkCore.DbContext -> Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker
Public Sub New (context As DbContext)

Parameters

context
DbContext

Applies to

ChangeTracker(IStateManager, IChangeDetector, IEntityEntryGraphIterator, DbContext)

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 ChangeTracker (Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager stateManager, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector changeDetector, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IEntityEntryGraphIterator graphIterator, Microsoft.EntityFrameworkCore.DbContext context);
new Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker : Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IEntityEntryGraphIterator * Microsoft.EntityFrameworkCore.DbContext -> Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker
Public Sub New (stateManager As IStateManager, changeDetector As IChangeDetector, graphIterator As IEntityEntryGraphIterator, context As DbContext)

Parameters

stateManager
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager
changeDetector
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector
graphIterator
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IEntityEntryGraphIterator
context
DbContext

Applies to

ChangeTracker(DbContext, IStateManager, IChangeDetector, IModel, IEntityEntryGraphIterator)

Source:
ChangeTracker.cs
Source:
ChangeTracker.cs
Source:
ChangeTracker.cs
Source:
ChangeTracker.cs
Source:
ChangeTracker.cs
Source:
ChangeTracker.cs
Source:
ChangeTracker.cs
Source:
ChangeTracker.cs
Source:
ChangeTracker.cs

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public ChangeTracker (Microsoft.EntityFrameworkCore.DbContext context, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager stateManager, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector changeDetector, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.ChangeTracking.IEntityEntryGraphIterator graphIterator);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ChangeTracker (Microsoft.EntityFrameworkCore.DbContext context, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager stateManager, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector changeDetector, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.ChangeTracking.IEntityEntryGraphIterator graphIterator);
new Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker : Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.ChangeTracking.IEntityEntryGraphIterator -> Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker : Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.ChangeTracking.IEntityEntryGraphIterator -> Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker
Public Sub New (context As DbContext, stateManager As IStateManager, changeDetector As IChangeDetector, model As IModel, graphIterator As IEntityEntryGraphIterator)

Parameters

context
DbContext
stateManager
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager
changeDetector
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector
model
IModel
Attributes

Applies to