ChangeSetEntry Constructor (Int32, Object, Object, DomainOperation)
[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.]
Initializes a new instance of the ChangeSetEntry class with the specified parameters.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public Sub New ( _
id As Integer, _
entity As Object, _
originalEntity As Object, _
operation As DomainOperation _
)
'Usage
Dim id As Integer
Dim entity As Object
Dim originalEntity As Object
Dim operation As DomainOperation
Dim instance As New ChangeSetEntry(id, entity, _
originalEntity, operation)
public ChangeSetEntry(
int id,
Object entity,
Object originalEntity,
DomainOperation operation
)
public:
ChangeSetEntry(
int id,
Object^ entity,
Object^ originalEntity,
DomainOperation operation
)
new :
id:int *
entity:Object *
originalEntity:Object *
operation:DomainOperation -> ChangeSetEntry
public function ChangeSetEntry(
id : int,
entity : Object,
originalEntity : Object,
operation : DomainOperation
)
Parameters
- id
Type: System.Int32
The client ID for the entity.
- entity
Type: System.Object
The entity.
- originalEntity
Type: System.Object
The original entity. May be nulla null reference (Nothing in Visual Basic).
- operation
Type: System.ServiceModel.DomainServices.Server.DomainOperation
The operation to be performed.