Home > @i2analyze/i2connect > services > IResult > addEntityFromSeed
services.IResult.addEntityFromSeed() method
Adds an entity record that was passed to the service as a seed to the result.
Signature:
addEntityFromSeed(seed: records.ISeedEntityRecord): records.ISeededResultEntityRecord;
Introduced: API version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
seed | records.ISeedEntityRecord | The record that was passed to the service method as a seed. |
Returns:
records.ISeededResultEntityRecord
The record that was added to the result.
Remarks
When you want to return a seed entity in your result set, use this method in preference to extracting data from the seed and using services.IResult.addEntity().