Click or drag to resize

DataObjectType Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelDataObjectType

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

The DataObjectType type exposes the following members.

Constructors
  NameDescription
Public methodDataObjectType
Top
Properties
  NameDescription
Public propertyAccessModifierClassInfo
Specifies the class info of an access modifier for the data object type. Can be null.
Public propertyAllowChildren
Public propertyChangedBy
Public propertyChangeTime
Public propertyConfigLockFlags
Public propertyCreatedBy
Public propertyCreateTime
Public propertyDataVersion
Public propertyDefaultParentId
Public propertyDefaultViewId
Public propertyDeleteVersionsAfter
Object versions older this amount of days will automatically be deleted.
Public propertyDescription
Public propertyDisplayNameFormat
Formatting string used to build display name for data objects. The format can contain property names in square brackets. Example: "[FIRSTNAME] [LASTNAME]"
Public propertyEnableArchiving
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.
Public propertyEnableForOData
If true, the object will be exposed in the OData API.
Public propertyFileMgmt
Public propertyFormId
Public propertyId
Public propertyKeyPropertyId
Angiver property som anvendes til identifikation af objekterne tilhørende typen. Skal angive en value property (ikke set eller ref). Kan være 0.
Public propertyKind
Immutable.
Public propertyMIISFilterId
Can be 0. Note: MIISFilterId should never be assigned to!
Public propertyName
Name in plural, e.g. "Identities".
Public propertyNameSingular
Name in singular form, e.g. "Identity".
Public propertyNumber
Public propertyObjectCount
Contains the approximate number of (data) objects of the specific type. The number is calculated at system start-up.
Public propertyObjectVersioning
If not set, no new object version will be generated when the object is changed and the object history page will not be visible.
Public propertyProperties
The properties that the data object type has bindings for.
Public propertyRequireWorkflow
Angiver om objekter af typen kun kan oprettes/redigeres via en workflow proces.
Public propertySequenceId
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.
Public propertyShadowForId
Is zero if Kind is DataObjectType. Immutable.
Public propertyStatusPropertyId
Angiver en set-property som anvendes til angivelse af status. Kan være 0.
Public propertySystem
Public propertySystemName
Can be null (although it is not a legal system name). The SystemName of a custom data object type must begin with "C_".
Public propertyUId
Top
Methods
  NameDescription
Public methodAddProperties
Adds a list of existing property objects (in form of DataObjectTypeProperty) to the DataObjectType.
Public methodAddProperty
Adds an existing property object (in form of DataObjectTypeProperty) to the DataObjectType.
Public methodClone
Public methodCloneDataObjectType
Kopierer (cloner) dataobjektypen og nulstiller alle relevante id'er.
Public methodGetDataVersion
Public methodGetDisplayNameFormatPropertyIds
Returnerer id'er for de properties som er anvendt i DisplayNameFormat.
Public methodGetFixedFields
Public methodStatic memberGetFixedFields(Int32)
Returnerer de fixed fields der er valide for en bestemt type. Hvis typeId angives som 0 returneres alle fixed fields.
Public methodGetForm Obsolete.
Public methodGetNewDataObject
Public methodGetNewDataObject(Int32)
Creates a new data object of the specified data object type.
Public methodGetProperties
Public methodGetPropertyIds
Returns an IntegerList containing ids of the properties used by the data object type.
Public methodStatic memberGetPropertyIdsByDisplayNameFormat
Returns propertyId integerlist for the properties selected for DisplayNameFormat of the given type.
Public methodStatic memberGetPropertyNumbersByDisplayNameFormat
Returns the numbers of the properties contained in the displaynameformat string.
Public methodGetPropertySequenceNumbers
Returns an IntegerList containing sequence numbers of the properties.
Public methodStatic memberGetPropertySystemNameByDisplayNameFormat
Returns the system name of the properties contained in the displaynameformat string.
Public methodStatic memberGetSpecialTypeIds
Public methodStatic memberGetSystemPropertyIds
Returnerer id'er for properties, som *skal* findes på den angivne type.
Public methodGetTypeProperties
Returns a collection containing the type's properties that match a given property type.
Public methodStatic memberIsSpecialType
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.
Public methodStatic memberIsWorkFlowRelatedType
Returns true if the given typeid is either Processes or Activities.
Public methodPassesFilter
Public methodRemoveProperty
Public methodResetAll
Nulstiller objektets id m.v. Metoden anvendes hvis man vil oprette en ny data object type (i db) som en kopi af en anden.
Public methodToString (Overrides ObjectToString.)
Public methodToString(AppFormatInfo)
Top
Fields
  NameDescription
Public fieldStatic memberCustomSystemNamePrefix
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 methodIObjectWithGuid.GetGuid
Explicit interface implementationPrivate methodIObjectWithId.GetId
Explicit interface implementationPrivate propertyIEntityObjectDataVersion
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.
Explicit interface implementationPrivate propertyIEntityObjectId
Unique id of the entity object within its entity type.
Top
See Also