DataObjectType Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class DataObjectType : ICloneable, IObjectWithSystemName, ITransportableObject, IObjectWithId, IObjectWithGuid, IObjectWithDataVersion, IEntityObject, IObjectWithLastChangedInfo
The DataObjectType type exposes the following members.
| Name | Description | |
|---|---|---|
| DataObjectType |
| Name | Description | |
|---|---|---|
| AccessModifierClassInfo |
Specifies the class info of an access modifier for the data object type.
Can be null.
| |
| AllowChildren | ||
| ChangedBy | ||
| ChangeTime | ||
| ConfigLockFlags | ||
| CreatedBy | ||
| CreateTime | ||
| DataVersion | ||
| DefaultParentId | ||
| DefaultViewId | ||
| DeleteVersionsAfter |
Object versions older this amount of days will automatically be deleted.
| |
| Description | ||
| DisplayNameFormat |
Formatting string used to build display name for data objects.
The format can contain property names in square brackets.
Example: "[FIRSTNAME] [LASTNAME]"
| |
| EnableArchiving |
If the type is enabled for archiving, the archiving feature will create a db table named after the type system name and copy versions to the archive.
| |
| EnableForOData |
If true, the object will be exposed in the OData API.
| |
| FileMgmt | ||
| FormId | ||
| Id | ||
| KeyPropertyId |
Angiver property som anvendes til identifikation af objekterne tilhørende typen.
Skal angive en value property (ikke set eller ref).
Kan være 0.
| |
| Kind |
Immutable.
| |
| MIISFilterId |
Can be 0.
Note: MIISFilterId should never be assigned to!
| |
| Name |
Name in plural, e.g. "Identities".
| |
| NameSingular |
Name in singular form, e.g. "Identity".
| |
| Number | ||
| ObjectCount |
Contains the approximate number of (data) objects of the specific type.
The number is calculated at system start-up.
| |
| ObjectVersioning |
If not set, no new object version will be generated when the object is changed and the object history page will not be visible.
| |
| Properties |
The properties that the data object type has bindings for.
| |
| RequireWorkflow |
Angiver om objekter af typen kun kan oprettes/redigeres via en workflow proces.
| |
| SequenceId |
When new data objects are created they are assigned a number from this sequence.
The sequence id can be 0 - in which case no number will be assigned to new data objects.
| |
| ShadowForId |
Is zero if Kind is DataObjectType.
Immutable.
| |
| StatusPropertyId |
Angiver en set-property som anvendes til angivelse af status.
Kan være 0.
| |
| System | ||
| SystemName |
Can be null (although it is not a legal system name).
The SystemName of a custom data object type must begin with "C_".
| |
| UId |
| Name | Description | |
|---|---|---|
| AddProperties |
Adds a list of existing property objects (in form of DataObjectTypeProperty) to the DataObjectType.
| |
| AddProperty |
Adds an existing property object (in form of DataObjectTypeProperty) to the DataObjectType.
| |
| Clone | ||
| CloneDataObjectType |
Kopierer (cloner) dataobjektypen og nulstiller alle relevante id'er.
| |
| GetDataVersion | ||
| GetDisplayNameFormatPropertyIds |
Returnerer id'er for de properties som er anvendt i DisplayNameFormat.
| |
| GetFixedFields | ||
| GetFixedFields(Int32) |
Returnerer de fixed fields der er valide for en bestemt type.
Hvis typeId angives som 0 returneres alle fixed fields.
| |
| GetForm | Obsolete. | |
| GetNewDataObject | ||
| GetNewDataObject(Int32) |
Creates a new data object of the specified data object type.
| |
| GetProperties | ||
| GetPropertyIds |
Returns an IntegerList containing ids of the properties used by the data object type.
| |
| GetPropertyIdsByDisplayNameFormat |
Returns propertyId integerlist for the properties selected for DisplayNameFormat of the given type.
| |
| GetPropertyNumbersByDisplayNameFormat |
Returns the numbers of the properties contained in the displaynameformat string.
| |
| GetPropertySequenceNumbers |
Returns an IntegerList containing sequence numbers of the properties.
| |
| GetPropertySystemNameByDisplayNameFormat |
Returns the system name of the properties contained in the displaynameformat string.
| |
| GetSpecialTypeIds | ||
| GetSystemPropertyIds |
Returnerer id'er for properties, som *skal* findes på den angivne type.
| |
| GetTypeProperties |
Returns a collection containing the type's properties that match a given property type.
| |
| IsSpecialType |
Returnerer true hvis det indsendte typeid er i mængden af specielle typer.
De specielle typer er dem som har deres egen entitet i databasen.
| |
| IsWorkFlowRelatedType |
Returns true if the given typeid is either Processes or Activities.
| |
| PassesFilter | ||
| RemoveProperty | ||
| ResetAll |
Nulstiller objektets id m.v.
Metoden anvendes hvis man vil oprette en ny data object type (i db) som en kopi af en anden.
| |
| ToString | (Overrides ObjectToString.) | |
| ToString(AppFormatInfo) |
| Name | Description | |
|---|---|---|
| CustomSystemNamePrefix |
| 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 | |
|---|---|---|
| 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.
|