ObjectStateEntry.IEntityChangeTracker.EntityComplexMemberChanging Method
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Used to report that a complex property is about to change The current value of the specified property is cached when this method is called.
Namespace: System.Data.Entity.Core.Objects
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Sub EntityComplexMemberChanging ( _
entityMemberName As String, _
complexObject As Object, _
complexObjectMemberName As String _
) Implements IEntityChangeTracker.EntityComplexMemberChanging
'Usage
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.
Parameters
- entityMemberName
Type: System.String
The name of the top-level entity property that is changing
- complexObject
Type: System.Object
The complex object that contains the property that is changing
- complexObjectMemberName
Type: System.String
The name of the property that is changing on complexObject
Implements
IEntityChangeTracker.EntityComplexMemberChanging(String, Object, String)