Rogue Wave Server Component library for .NET Reference Guide
|
|
MvComponentNewMapping Method |
Enables the component to create a new representation object
associated with a collector attribute.
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
public RpObject NewMapping( Representation repres, RpObjModel model, RpObject cousin, bool endUpdate )
Parameters
- repres
- Type: RW.Server.ComponentRepresentation
The representation in which the new object is created. - model
- Type: RW.Server.ComponentRpObjModel
The object model from which the object is created. - cousin
- Type: RW.Server.ComponentRpObject
A representation object. Rogue Wave Server uses this reference to determine which server object the new representation object should be associated with. - endUpdate
- Type: SystemBoolean
Controls the calls to the function EndC2SUpdate. This function is invoked on the new representation object only if the parameter is true.
Return Value
Type: RpObjectThe new representation object or null if the mapping fails.
On the server side, this representation object will be associated with an existing server object.