DbSet<TEntity>.Entry(TEntity) Method
Definition
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.
Gets an EntityEntry<TEntity> for the given entity. The entry provides access to change tracking information and operations for the entity.
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity> Entry (TEntity entity);
abstract member Entry : 'Entity -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity (requires 'Entity : null)>
override this.Entry : 'Entity -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity (requires 'Entity : null)>
Public Overridable Function Entry (entity As TEntity) As EntityEntry(Of TEntity)
Parameters
- entity
- TEntity
The entity to get the entry for.
Returns
The entry for the given entity.
Remarks
See Accessing tracked entities in EF Core for more information and examples.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework