DbSet<TEntity>.Entry(TEntity) 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.
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)
- entity
- TEntity
The entity to get the entry for.
The entry for the given entity.
See Accessing tracked entities in EF Core for more information and examples.
Proizvod | Verzije |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Entity Framework povratne informacije
Entity Framework je projekat otvorenog koda. Odaberite vezu za pružanje povratnih informacija: