Click or drag to resize

DataObjectReferencePath Constructor

A reference path consists of system names of reference properties seperated by slash or backslash. Certain fixed fields are also supported including among others "PROCESS" and "TARGET". Slash (/) indicates a forward reference. Backslash (\) indicates a backwards reference.

Each reference property system name can optionally be postfixed with filter expressions in {}.

The entire reference path can optionally be postfixed with a display format on the format [:][display format]. The display format may contain fixed text and variable text in the form of properties and fixed fields. Properties must be stated by their system name enclosed in square brackets (example: [NAME]).

Throws an exception if the path can't be parsed.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public DataObjectReferencePath(
	string path,
	string systemNameRegExp = null
)

Parameters

path
Type: SystemString
The path to be parsed.
systemNameRegExp (Optional)
Type: SystemString
An alternate system name regex can be specified here.
Examples

Example 1: /PROPERTY1/PROPERTY2/PROPERTY3

Example 2: /PROPERTY1\PROPERTY2/PROPERTY3:[PROPERTYX]

Example 3: /PROPERTY1\PROPERTY2{TYPE=E2BCC8AC-8E4E-44B6-9CCE-B526C3680AC7}/PROPERTY3

See Also