다음을 통해 공유


DbEntityEntry<TEntity>.GetDatabaseValues 메서드

정의

데이터베이스에 현재 있는 추적된 엔터티 값의 복사본을 데이터베이스에서 쿼리합니다. 반환된 사전의 값을 변경해도 데이터베이스의 값은 업데이트되지 않습니다. 엔터티가 데이터베이스에 없으면 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

반환

저장소 값입니다.

특성

적용 대상