DbEntityEntry.GetDatabaseValues 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.
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.
public System.Data.Entity.Infrastructure.DbPropertyValues GetDatabaseValues ();
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public System.Data.Entity.Infrastructure.DbPropertyValues GetDatabaseValues ();
member this.GetDatabaseValues : unit -> System.Data.Entity.Infrastructure.DbPropertyValues
Public Function GetDatabaseValues () As DbPropertyValues
Returns
The store values.
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework