ChangeSet.GetChangeOperation Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Gets the ChangeOperation for the specified member of this ChangeSet.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public Function GetChangeOperation ( _
entity As Object _
) As ChangeOperation
'Usage
Dim instance As ChangeSet
Dim entity As Object
Dim returnValue As ChangeOperation
returnValue = instance.GetChangeOperation(entity)
public ChangeOperation GetChangeOperation(
Object entity
)
public:
ChangeOperation GetChangeOperation(
Object^ entity
)
member GetChangeOperation :
entity:Object -> ChangeOperation
public function GetChangeOperation(
entity : Object
) : ChangeOperation
Parameters
- entity
Type: System.Object
The entity to get the status for.
Return Value
Type: System.ServiceModel.DomainServices.Server.ChangeOperation
The ChangeOperation for the specified object. If the ChangeSet does not contain an operation for the object specified, None is returned.