共用方式為


IEntityChangeTracker.EntityComplexMemberChanged 方法

定義

通知變更追蹤程式,複雜型別中的屬性已經改變。

public:
 void EntityComplexMemberChanged(System::String ^ entityMemberName, System::Object ^ complexObject, System::String ^ complexObjectMemberName);
public void EntityComplexMemberChanged (string entityMemberName, object complexObject, string complexObjectMemberName);
abstract member EntityComplexMemberChanged : string * obj * string -> unit
Public Sub EntityComplexMemberChanged (entityMemberName As String, complexObject As Object, complexObjectMemberName As String)

參數

entityMemberName
String

已變更之實體類型的複雜屬性的名稱。

complexObject
Object

包含已變更之屬性的複雜型別。

complexObjectMemberName
String

針對複雜型別變更之屬性的名稱。

備註

EntityComplexMemberChanged 會使用 ComplexObject 來報告屬性已變更。

如需詳細資訊,請參閱身分識別解析、狀態管理,以及POCO實體中的變更追蹤和追蹤變更

適用於