ObjectSet<TEntity>.ApplyCurrentValues(TEntity) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
제공된 개체의 스칼라 값을 키가 같은 개체 ObjectContext 에 복사합니다.
public:
TEntity ApplyCurrentValues(TEntity currentEntity);
public TEntity ApplyCurrentValues(TEntity currentEntity);
member this.ApplyCurrentValues : 'Entity -> 'Entity
Public Function ApplyCurrentValues (currentEntity As TEntity) As TEntity
매개 변수
- currentEntity
- TEntity
원래 개체에 적용할 속성 업데이트가 있는 분리된 개체입니다. 엔터티 키 currentEntity 는 에 있는 ObjectContext항목의 속성과 일치 EntityKey 해야 합니다.
반품
TEntity
업데이트된 개체입니다.
설명
이 메서드는 메서드 주위의 래퍼입니다 ApplyCurrentValues .