Export (0) Print
Expand All
1 out of 13 rated this helpful - Rate this topic

DbContext.Entry<TEntity> Method (TEntity)

Entity Framework 5.0

Gets a DbEntityEntry<TEntity> object for the given entity providing access to information about the entity and the ability to perform actions on the entity.

Namespace:  System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)
public DbEntityEntry<TEntity> Entry<TEntity>(
	TEntity entity
)
where TEntity : class

Type Parameters

TEntity

The type of the entity.

Parameters

entity
Type: TEntity

The entity.

Return Value

Type: System.Data.Entity.Infrastructure.DbEntityEntry<TEntity>
An entry for the entity.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.