QueryContext.StartTracking Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
- Source:
- QueryContext.cs
- Source:
- QueryContext.cs
Start tracking an entity.
public virtual void StartTracking (object entity, Microsoft.EntityFrameworkCore.Query.Internal.EntityTrackingInfo entityTrackingInfo);
abstract member StartTracking : obj * Microsoft.EntityFrameworkCore.Query.Internal.EntityTrackingInfo -> unit
override this.StartTracking : obj * Microsoft.EntityFrameworkCore.Query.Internal.EntityTrackingInfo -> unit
Public Overridable Sub StartTracking (entity As Object, entityTrackingInfo As 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 |
- 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.
[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);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member StartTracking : Microsoft.EntityFrameworkCore.Metadata.IEntityType * obj * ISnapshot -> Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
override this.StartTracking : Microsoft.EntityFrameworkCore.Metadata.IEntityType * obj * ISnapshot -> Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
Public Overridable Function StartTracking (entityType As IEntityType, entity As Object, snapshot As ISnapshot) As InternalEntityEntry
Parameters
- entityType
- IEntityType
- entity
- Object
- snapshot
- Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ISnapshot
Returns
- Attributes
Applies to
Entity Framework Core 9.0
Producto | Versiones |
---|---|
Entity Framework Core | 9.0 |
- 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.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry StartTracking (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, object entity, Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member StartTracking : Microsoft.EntityFrameworkCore.Metadata.IEntityType * obj * Microsoft.EntityFrameworkCore.Storage.ValueBuffer -> Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
override this.StartTracking : Microsoft.EntityFrameworkCore.Metadata.IEntityType * obj * Microsoft.EntityFrameworkCore.Storage.ValueBuffer -> Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
Public Overridable Function StartTracking (entityType As IEntityType, entity As Object, valueBuffer As ValueBuffer) As InternalEntityEntry
Parameters
- entityType
- IEntityType
- entity
- Object
- valueBuffer
- ValueBuffer
Returns
- 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 |
Comentarios de Entity Framework
Entity Framework es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: