DbEntityEntry.GetDatabaseValues Method ()

Entity Framework 6.0
 

Queries the database for copies of the values of the tracked entity as they currently exist in the database. Note that changing the values in the returned dictionary will not update the values in the database. If the entity is not found in the database then null is returned.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public DbPropertyValues GetDatabaseValues()

Return Value

Type: System.Data.Entity.Infrastructure.DbPropertyValues

The store values.

Return to top
Show: