DbEntityEntry.GetDatabaseValues 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
查詢資料庫中追蹤實體目前存在的數值副本。 請注意,更改回傳字典中的值不會更新資料庫中的值。 若該實體未在資料庫中找到,則回傳為 null。
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
傳回
商店價值。
- 屬性