Leer en inglés

Compartir a través de


QueryContext.StartTracking Method

Definition

Overloads

StartTracking(Object, EntityTrackingInfo)

Start tracking an entity.

StartTracking(IEntityType, Object, ISnapshot)

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.

StartTracking(IEntityType, Object, ValueBuffer)

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.

StartTracking(Object, EntityTrackingInfo)

Source:
QueryContext.cs
Source:
QueryContext.cs

Start tracking an entity.

C#
public virtual void StartTracking (object entity, Microsoft.EntityFrameworkCore.Query.Internal.EntityTrackingInfo entityTrackingInfo);

Parameters

entity
Object

The entity.

entityTrackingInfo
Microsoft.EntityFrameworkCore.Query.Internal.EntityTrackingInfo

Information describing how to track the entity.

Applies to

Entity Framework Core 2.2 y otras versiones
Producto Versiones
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2

StartTracking(IEntityType, Object, ISnapshot)

Source:
QueryContext.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.

C#
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry StartTracking (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, object entity, in Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ISnapshot snapshot);

Parameters

entityType
IEntityType
entity
Object
snapshot
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ISnapshot

Returns

Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
Attributes

Applies to

Entity Framework Core 9.0
Producto Versiones
Entity Framework Core 9.0

StartTracking(IEntityType, Object, ValueBuffer)

Source:
QueryContext.cs
Source:
QueryContext.cs
Source:
QueryContext.cs
Source:
QueryContext.cs
Source:
QueryContext.cs
Source:
QueryContext.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.

C#
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry StartTracking (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, object entity, Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer);

Parameters

entityType
IEntityType
entity
Object
valueBuffer
ValueBuffer

Returns

Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
Attributes

Applies to

Entity Framework Core 8.0 y otras versiones
Producto Versiones
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0