Click or drag to resize

DataObjectFilterExpression Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelDataObjectFilterExpression

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

The DataObjectFilterExpression type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyChangeFilterMode
ChangeFilterMode is only used if LeftFixedField is ChangeTime. It controls whether all versions are examined - or only the current one.
Public propertyDataVersion
Public propertyId
Public propertyInnerOperator
InnerOperator angiver operatoren mellem venstre og højre siden.
Public propertyLeftFixedField
LeftFixedField anvendes kun hvis LeftProperty = null
Public propertyLeftProperty
LeftProperty kan være null
Public propertyLikeOperatorWildcard
LikeOperatorWildcard is only used if the InnerOperator is 'Like'.
Public propertyOuterOperator
OuterOperator angiver operatoren mellem foregående expression og denne expression.
Public propertyParent
Public propertyPath
Reference path pointing to the objects that the expression should be applied to. Can be null.
Public propertyRightEnumValues
If LeftFixedField is either ActivityState, ProcessState or Acceptance then the right-side ordinal values ids can be obtained here. Can't be assigned to - use RightValue for that purpose.
Public propertyRightProcessIds
If LeftFixedField is Process then the right-side process ids can be obtained here. Can't be assigned to - use RightValue for that purpose.
Public propertyRightProperty
RightProperty kan være null
Public propertyRightReferencePropertyValues
If LeftProperty is a ReferenceProperty then the right-side (data object) values can be ontained here. Can't be assigned to - use RightValue for that purpose.
Public propertyRightSetPropertyValues
If LeftProperty is a SetProperty then the right-side values can be ontained here. Can't be assigned to - use RightValue for that purpose.
Public propertyRightUserGroupIds
If LeftFixedField is either CreatedBy, ChangedBy or DeletedBy then the right-side user group ids can be obtained here. Can't be assigned to - use RightValue for that purpose.
Public propertyRightValue
What can be assigned depends on the left side. Below is listed what data types are allowed depending on the left side. A null value can always be assigned.

Value property - Text: string Value property - Integer: int Value property - DateTime: DateTime Value property - Decimal: double Value property - Boolean: bool Value property - Hyperlink: string Value property - TimeSpan: TimeSpan Value property - MultiLangText: string Value property - Xml: string Set property: int or IEnumerable[int] Reference property: int or IEnumerable[int] CreateTime: DateTime ChangeTime: DateTime DeleteTime: DateTime ActiveTime: DateTime CompleteTime: DateTime FirstActiveTime: DateTime CreatedBy: int or IEnumerable[int] ChangedBy: int or IEnumerable[int] DeletedBy: int or IEnumerable[int] Number: int Type: int ActivityState: int or IEnumerable[int] ProcessState: int or IEnumerable[int] Acceptance: int or IEnumerable[int] ActPctComplete: int Id: int UserName: string DisplayName: string Template: bool ActivityAbsDuration: TimeSpan ActivityDuration: TimeSpan ProcessAbsDuration: TimeSpan ProcessDuration: TimeSpan

Public propertyRightValueCurrUserGroups
Anvendes kun hvis LeftProperty er en reference property og hvis right value rummer ’active user’. Hvis true filtreres der, udover på active user, også på alle de grupper, som active user er medlem af.
Public propertyRightValueCurrUserValue
Anvendes kun hvis LeftProperty != null. Hvis sat anvendes den aktive brugers værdi for den angivne left property. Eksempelvis kan man angive: country = curruservalue. Dermed passerer kun dataobjekter med en værdi i country property’en, der er den samme som den aktive bruger har angivet i sin country property.
Public propertyRightValueExpression
Right value expression. Used on form filters to refer form field values, e.g. $FORM_OUREF
Public propertyRightValueModifier
RightValueModifier anvendes kun hvis datatypen for LeftProperty/LeftFixedField er enten: Integer, DateTime, Decimal eller TimeSpan. Hvis datatypen er DateTime eller TimeSpan betragtes værdien som et antal minutter. RightValueModifier ignoreres hvis den er 0.
Public propertyRightValueModifierOperator
RightValueModifierOperator anvendes kun hvis datatypen for LeftProperty/LeftFixedField er enten: Integer, DateTime, Decimal eller TimeSpan.
Public propertyRightValueNow
RightValueNow anvendes kun hvis LeftProperty/LeftFixedField angiver en datetime værdi. Hvis RightValueNow = true angiver højresiden til enhver tid en dato/tidspunkt relateret til dags dato (og værdien af RightValue ignoreres). Se endvidere RightValueNowType.
Public propertyRightValueNowType
Anvendes kun hvis RightValueNow anvendes og denne er true.
Public propertyRightValueSingle
Returns a single right value. If there is none then null is returned.
Public propertyUId
Public propertyVOrder
Top
Methods
  NameDescription
Public methodClone
Public methodGetLeftField
Public methodGetLeftSideDataType
Public methodGetLeftSideDisplayValue
Public methodGetModifierTimeAndUnitStr
returns a string containing right modifier time value and its unit Pre: dataType == typeof(System.DateTime)
Public methodStatic memberGetNowValue
Public methodGetRightValueModifierTime
Public methodGetRightValueModifierTimeUnit
Public methodRightValueToListT
Protected methodSetInnerOperator
Protected methodSetLeftFixedField
Protected methodSetLeftProperty
Protected methodSetRightProperty
Public methodSetRightValueModifierTime
Public methodSupportsRightValueModifier
Public methodToString
For debugging purposes.
(Overrides ObjectToString.)
Public methodValidate
Public methodValidate(DataObjectTypes)
Validerer at udtrykket er i en valid tilstand. Hvis ikke rejses en exception.
Public methodValidate(DataObjectTypes, String)
Validerer at udtrykket er i en valid tilstand. Returnerer true hvis det er. Hvis der returneres false indeholder message en beskrivelse af problemet.
Public methodValidateProperties
Validates that the (eventual) left and right property exists in the data object types used for the (parent) filter.
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