DataObjectTypeProperty Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class DataObjectTypeProperty : ICloneable, IComparable, IObjectWithId
The DataObjectTypeProperty type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataObjectTypeProperty |
Name | Description | |
---|---|---|
![]() | DefaultValue |
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.
|
![]() | DefaultValueModifier |
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".
|
![]() | DefaultValueModifierOperator |
DefaultValueModifierOperator anvendes kun hvis property har datatypen DateTime og
og DefaultValueNow = true.
|
![]() | DefaultValueNow |
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)
|
![]() | ExcludeFromSearch |
If true, Save data object will skip calculation of search data from this data object type property.
|
![]() | Immutable |
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".
|
![]() | MIISDirection | |
![]() | MIISTransfer | |
![]() | ODWAttributeName |
Mapping to an ODW attribute used by the history tracking.
|
![]() | ODWTrackHistory |
If true then change to the property will cause a new version of the object in ODW.
|
![]() | Owner | |
![]() | Property | |
![]() | RequiresValue |
If true it is not possible to create or update a data object that doesn't have a value for the property.
|
![]() | System | |
![]() | Unique |
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.
|
![]() | VOrder |
Angiver den vorder som property har i db.
VOrder kan kun ændres via controlleren.
|
Name | Description | |
---|---|---|
![]() | Clone |
We shallow copy Property and Owner
|
![]() | CompareTo | |
![]() | ToString | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() | IObjectWithId.GetId |