共用方式為


IEntityChangeTracker.EntityComplexMemberChanging 方法

定義

向變更追蹤程式通知複雜屬性的暫止變更。

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

參數

entityMemberName
String

所變更之最上層實體屬性的名稱。

complexObject
Object

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

complexObjectMemberName
String

複雜型別上所變更之屬性的名稱。

備註

EntityComplexMemberChangingEntityObject 會使用 ComplexObject 來報告複雜屬性變更中。

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

適用於