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实体中的更改跟踪和跟踪更改

适用于