Click or drag to resize

DataObjectTypeProperty Class

Models a property that is used in a DataObjectType.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelDataObjectTypeProperty

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

The DataObjectTypeProperty type exposes the following members.

Constructors
  NameDescription
Public methodDataObjectTypeProperty
Top
Properties
  NameDescription
Public propertyDefaultValue
The type of DefaultValue depends on Property's datatype. Can contain either a: string, int, datetime, double, bool, a SetPropertyValue object or a dataobjectid (int) for a reference property. DefaultValue is null if no default value is used. Can be "[NewGuid]" for a text property - in which case a new GUID (string) is assigned as default value.
Public propertyDefaultValueModifier
DefaultValueModifier anvendes kun hvis property har datatypen DateTime og og DefaultValueNow = true. DefaultValueModifier indeholder et antal sekunder som enten skal tillægges eller fratrækkes "now".
Public propertyDefaultValueModifierOperator
DefaultValueModifierOperator anvendes kun hvis property har datatypen DateTime og og DefaultValueNow = true.
Public propertyDefaultValueNow
DefaultValueNow anvendes kun hvis DefaultValue angiver en datetime værdi. Hvis DefaultValueNow = true angiver default value til enhver tid dags dato (og tid) (og værdien af Default value ignoreres)
Public propertyExcludeFromSearch
If true, Save data object will skip calculation of search data from this data object type property.
Public propertyImmutable
If true a value can only be specified for the property when a data object is created - that is, not in subsequent updates. An immutable property binding must also be marked as "requires value".
Public propertyMIISDirection
Public propertyMIISTransfer
Public propertyODWAttributeName
Mapping to an ODW attribute used by the history tracking.
Public propertyODWTrackHistory
If true then change to the property will cause a new version of the object in ODW.
Public propertyOwner
Public propertyProperty
Public propertyRequiresValue
If true it is not possible to create or update a data object that doesn't have a value for the property.
Public propertySystem
Public propertyUnique
If true a value for the property must be unique within the scope of the data object type. A unique property binding must also be marked as "requires value". Only value properties of datatype 'Text' and 'Integer' can be marked as unique. Uniqueness is *not* case sensitive.
Public propertyVOrder
Angiver den vorder som property har i db. VOrder kan kun ændres via controlleren.
Top
Methods
  NameDescription
Public methodClone
We shallow copy Property and Owner
Public methodCompareTo
Public methodToString (Overrides ObjectToString.)
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
  NameDescription
Explicit interface implementationPrivate methodIObjectWithId.GetId
Top
See Also