DbChangeTracker.Entries 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.
Overloads
Entries() |
Gets DbEntityEntry objects for all the entities tracked by this context. |
Entries<TEntity>() |
Gets DbEntityEntry objects for all the entities of the given type tracked by this context. |
Entries()
Gets DbEntityEntry objects for all the entities tracked by this context.
public System.Collections.Generic.IEnumerable<System.Data.Entity.Infrastructure.DbEntityEntry> Entries ();
member this.Entries : unit -> seq<System.Data.Entity.Infrastructure.DbEntityEntry>
Public Function Entries () As IEnumerable(Of DbEntityEntry)
Returns
The entries.
Applies to
Entries<TEntity>()
Gets DbEntityEntry objects for all the entities of the given type tracked by this context.
public System.Collections.Generic.IEnumerable<System.Data.Entity.Infrastructure.DbEntityEntry<TEntity>> Entries<TEntity> () where TEntity : class;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Collections.Generic.IEnumerable<System.Data.Entity.Infrastructure.DbEntityEntry<TEntity>> Entries<TEntity> () where TEntity : class;
member this.Entries : unit -> seq<System.Data.Entity.Infrastructure.DbEntityEntry<'Entity>> (requires 'Entity : null)
Public Function Entries(Of TEntity As Class) () As IEnumerable(Of DbEntityEntry(Of TEntity))
Type Parameters
- TEntity
The type of the entity.
Returns
The entries.
- Attributes
Applies to
Entity Framework