Click or drag to resize

CopyRuleField Class

Field mapping used in a CopyRule to copy property values or constant values between properties from one to many objects
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelCopyRuleField

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class CopyRuleField : IObjectWithId, 
	IObjectWithGuid, ICloneable

The CopyRuleField type exposes the following members.

Constructors
  NameDescription
Public methodCopyRuleField
Top
Properties
  NameDescription
Public propertyId
Id
Public propertySourcePropertyId
Id of source property. Is 0 if a constant value is used
Public propertyTargetPath
Reference path starting from the destination object. Can be null.
Public propertyToField
Destination property of the field
Public propertyUId
UId
Public propertyValue
Based on the type and datatype of the ToField, value contains either a: string, int, datetime or a bool. Value can also be null.
Top
Methods
  NameDescription
Public methodClone
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
See Also