PDIObjectVersion Property

This is used to establish the specification version to which the PDI object will conform when converted to its string form.

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public virtual SpecificationVersions Version { get; set; }

Property Value

SpecificationVersions
Some PDI objects are handled differently under the different versions of the specifications. This property allows them to react accordingly. If the object is owned by another object, the owner should set the version as needed before doing anything that is version dependent such as converting it to a string. This should also be overridden where necessary to propagate the version to all owned objects. Derived classes with only one version or with version-dependent behavior should always set the default version when constructed.

Exceptions

ArgumentExceptionThis exception is thrown if an attempt is made to set the version to None, a combination of version values, or if the specified version is not supported by the object.

See Also