共用方式為


ObjectStateEntry.IEntityChangeTracker.EntityComplexMemberChanging 方法

定義

用來報告複雜屬性即將變更 當呼叫此方法時,會快取指定屬性的目前值。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void IEntityChangeTracker.EntityComplexMemberChanging (string entityMemberName, object complexObject, string complexObjectMemberName);
Sub EntityComplexMemberChanging (entityMemberName As String, complexObject As Object, complexObjectMemberName As String) Implements IEntityChangeTracker.EntityComplexMemberChanging

參數

entityMemberName
String

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

complexObject
Object

包含正在變更之屬性的複雜物件

complexObjectMemberName
String

在 complexObject 上變更的屬性名稱

實作

屬性

適用於