ObjectContext.ApplyPropertyChanges(String, Object) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
Use ApplyCurrentValues instead
분리된 개체의 속성 변경을 개체 컨텍스트에 이미 연결된 개체에 적용합니다.
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("Use ApplyCurrentValues instead")]
public virtual void ApplyPropertyChanges (string entitySetName, object changed);
abstract member ApplyPropertyChanges : string * obj -> unit
override this.ApplyPropertyChanges : string * obj -> unit
Public Overridable Sub ApplyPropertyChanges (entitySetName As String, changed As Object)
매개 변수
- entitySetName
- String
개체가 속한 엔터티 집합의 이름입니다.
- changed
- Object
원래 개체에 적용할 속성 업데이트가 있는 분리된 개체입니다.
- 특성
예외
entitySetName이 null이거나 빈 문자열이거나 변경된 경우 null인 경우
EntitySet from entitySetName이 개체 EntityKey 의 에 맞지 EntitySet 않거나 엔터티가 또는 이외의 Modified 상태에 있거나 Unchanged 원래 개체가 컨텍스트에 연결되지 않은 경우.
changed 개체의 형식이 원래 개체의 형식과 다른 경우