ObjectSet<TEntity>.ApplyCurrentValues(TEntity) 메서드

정의

제공된 개체의 스칼라 값을 키가 같은 개체 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 .

적용 대상

추가 정보