BaseProperty Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public abstract class BaseProperty : IComparable, IObjectWithId, IObjectWithGuid, IObjectWithDataVersion, ICloneable, IEntityObject, IObjectWithLastChangedInfo
The BaseProperty type exposes the following members.
Name | Description | |
---|---|---|
![]() | BaseProperty |
Name | Description | |
---|---|---|
![]() | AllowsMultipleValues |
Does the property allow/support multiple values?
|
![]() | ChangedBy | |
![]() | ChangeTime | |
![]() | ConfigLockFlags | |
![]() | ControlType | |
![]() | CreatedBy | |
![]() | CreateTime | |
![]() | DataVersion | |
![]() | Deleted | |
![]() | Description | |
![]() | Id | |
![]() | Name | |
![]() | Number | |
![]() | PropertyType | |
![]() | SecurityDefined |
Returns true of security has been defined for the property.
Use the CheckSecurity() method to test of a user has access to the property.
|
![]() | SecurityGroups |
Contains Users and UserGroup which have access to the property.
Can be null.
Use the CheckSecurity() method to test of a user has access to the property.
|
![]() | System | |
![]() | SystemName | |
![]() | UId |
Name | Description | |
---|---|---|
![]() | CheckSecurity | |
![]() ![]() | CheckSecurity(BaseProperty) | Obsolete. |
![]() ![]() | CheckSecurity(BaseProperty, UserInfo) |
Returns true if a user has access to view and use (the values of) a property.
|
![]() | Clone | |
![]() | CloneProperty |
Clones the property and resets all relevant ID's
|
![]() | CompareTo | |
![]() | CopyTo |
Called from impl. of Clone in sub classes.
|
![]() | FormatValue(Object) | |
![]() | FormatValue(Object, Boolean) | |
![]() | FormatValue(Object, AppFormatInfo, Boolean) |
Formats a value to a string using the property's settings.
|
![]() ![]() | GetModifiedSystemName |
Returns a valid SystemName based on a suggested input.
Allowed char are: a-z, A-Z, 0-9, _ (underscore)
|
![]() ![]() | GetPropertyDataTypeFlags | |
![]() ![]() | GetPropertyTypeFlags | |
![]() | GetPropertyTypeString | |
![]() | GetWidthFactor |
Returns a number between 1 and 5.
The number is used in views and indicates a relative width of the field.
1 = very narrow, 2 = narrow, 3 = normal, 4 = wide, 5 = very wide.
|
![]() ![]() | MultipleValuesAllowed | |
![]() | PassesFilter | |
![]() ![]() | RepeatDirectionPossible | |
![]() | ResetAll |
Resets ID's in the object.
Method is used when a new property is created in the database based on a copy of another object.
|
![]() | SetControlType | |
![]() | SetId | |
![]() | SupportsChangeEventHandler |
Returns true if the property supports onchange browsereventhandler association.
|
![]() | ToString | (Overrides ObjectToString.) |
![]() | ToString(AppFormatInfo) | |
![]() | ValidatePropertyName |
Return true if the property name contains illegal character(s).
The following characters will be regarded as illegal characters:
\ ; | =[ ]| * ¤
|
Name | Description | |
---|---|---|
![]() ![]() | CustomSystemNamePrefix | |
![]() ![]() | SystemNameRegExp |
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 | |
---|---|---|
![]() ![]() | IObjectWithDataVersion.GetDataVersion | |
![]() ![]() | IObjectWithGuid.GetGuid | |
![]() ![]() | IObjectWithId.GetId | |
![]() ![]() | IEntityObjectDataVersion |
The data version of an entity object is incremented every time it gets updated.
If the entity object class embeds other objects (like a DataObjectType embeds a number of BaseProperty objects)
then the DataVersion is also "touched" when an embedded object changes.
|
![]() ![]() | IEntityObjectId |
Unique id of the entity object within its entity type.
|