Constructor value reader

Version:

You use this value reader to call a constructor and return the object that is created.

The constructor that is called depends on the source object that is passed to the value reader:

  • If the source object is null, the default constructor is called.
  • If the source object is not a collection, the source object is passed as a parameter to the constructor.
  • If the source object is a collection, each member of the collection is passed as a separate parameter to the constructor.
Expected source object typeSystem.Object
Template locationData Exchange/Framework/Data Access/Value Readers/Constructor Value Reader

Template fields

Field nameDescription
TypeType whose constructor is called.
Do Not Use Source For Constructor ParametersIf selected, no parameters are passed to the constructor, even if the source object is not null.
Generic Parameter TypesIf the type has generic parameters, this field is used to specify the generic parameter types. To specify multiple types, separate the type names with a line break.
If you have suggestions for improving this article, let us know!