Metodo ObjectStateEntry.IEntityChangeTracker.EntityComplexMemberChanging
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Utilizzato per segnalare che una proprietà complessa sta per essere modificata. Il valore corrente della proprietà specificata viene memorizzato nella cache quando viene chiamato questo metodo.
Spazio dei nomi: System.Data.Entity.Core.Objects
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Sub EntityComplexMemberChanging ( _
entityMemberName As String, _
complexObject As Object, _
complexObjectMemberName As String _
) Implements IEntityChangeTracker.EntityComplexMemberChanging
'Utilizzo
Dim instance As ObjectStateEntry
Dim entityMemberName As String
Dim complexObject As Object
Dim complexObjectMemberName As String
CType(instance, IEntityChangeTracker).EntityComplexMemberChanging(entityMemberName, _
complexObject, complexObjectMemberName)
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void IEntityChangeTracker.EntityComplexMemberChanging(
string entityMemberName,
Object complexObject,
string complexObjectMemberName
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual void EntityComplexMemberChanging(
String^ entityMemberName,
Object^ complexObject,
String^ complexObjectMemberName
) sealed = IEntityChangeTracker::EntityComplexMemberChanging
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract EntityComplexMemberChanging :
entityMemberName:string *
complexObject:Object *
complexObjectMemberName:string -> unit
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override EntityComplexMemberChanging :
entityMemberName:string *
complexObject:Object *
complexObjectMemberName:string -> unit
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parametri
- entityMemberName
Tipo: System.String
Nome della proprietà dell'entità di primo livello che sta per essere modificata
- complexObject
Tipo: System.Object
Oggetto complesso che contiene la proprietà che sta per essere modificata
- complexObjectMemberName
Tipo: System.String
Nome della proprietà che sta per essere modificata in complexObject
Implements
IEntityChangeTracker.EntityComplexMemberChanging(String, Object, String)