Click or drag to resize

CodeMethodParam Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelCodeMethodParam

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

The CodeMethodParam type exposes the following members.

Constructors
  NameDescription
Public methodCodeMethodParam
Top
Properties
  NameDescription
Public propertyActionId
It is the parameter's method
Public propertyDataType
Only following dataTypes are valid: Text, Integer, DateTime, Decimal or Boolean It defines what type of "Map to value" or "Map to property" is allowed
Public propertyId
Public propertyMapTo
If the readonly flag == MapTo.Property, map to property is selected for the param, else (MapTo.Value), map to value selected
Public propertyName
Public propertyParamDirection
Public propertyParamProperty
It is used for holding property for "Map to property" of the method parameters: setProperty is treated as an integer type property data type of it is defined by DataType property of the class
Public propertyParamState
Flag used for indicating 1. whether the parameter is a newly created, or an existing one. 2. if an existing one, it specifys whether it has been changed or not. 3. if changed, it signifies whether it is dataType- and/or direction-change
Public propertyParamValue
It is used for holding value for "Map to value" of the method parameters: data type of it is defined by DataType property of the class
Public propertyUId
Top
Methods
  NameDescription
Public methodClone
Public methodStatic memberCreate(String, ParamDirection, Boolean, CodeMethod)
Public methodStatic memberCreate(String, ParamDirection, Int32, CodeMethod)
Public methodStatic memberCreate(String, ParamDirection, String, CodeMethod)
Public methodStatic memberCreate(String, PropertyDataType, ParamDirection, BaseProperty, CodeMethod)
Public methodGetDataTypeStr
Public methodGetDirectionStr
Public methodStatic memberIsValidPropertyDataType
Will return false if the given data type is none of the following: PropertyDataType.Text, .Integer, .DateTime, .Decimal or .Boolean
Public methodResetAll
Resets the id etc. of the object. The method is used when making a copy of an existing object.
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