Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DbEntityEntry(TEntity).GetDatabaseValues Method

Entity Framework 5.0

Queries the database for copies of the values of the tracked entity as they currently exist in the database. Changing the values in the returned dictionary will not update the values in the database. If the entity is not found in the database a null reference (Nothing in Visual Basic) is returned.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)
public function GetDatabaseValues() : DbPropertyValues

Return Value

Type: System.Data.Entity.Infrastructure.DbPropertyValues
The store values.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.