ViewBase Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public abstract class ViewBase : IObjectWithId, IObjectWithDataVersion, IObjectWithGuid, IEntityObject, ICloneable, IObjectWithLastChangedInfo
The ViewBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | ActiveUserCanUseView |
Is the active user allowed to use the view?
|
![]() | ChangedBy | |
![]() | ChangeTime | |
![]() | CreatedBy | |
![]() | CreateTime | |
![]() | DataVersion | |
![]() | Description |
Description can be null
|
![]() | Id | |
![]() | MenuItemId |
The ID of the menu item under which the view is placed.
|
![]() | Name | |
![]() | Number | |
![]() | Owner |
The "Owner" tells the purpose of the view; is it a regular view, is it used for a reference property or is it used for scoping a policy?
|
![]() | OwnerId |
The administrators/owners of the view. Only the owners can edit the view.
OwnerId is the id of a user group.
|
![]() | Settings |
Contains additional settings for the view.
Configured in the XML structure in the column tblDataObjectView.SettingsXML.
|
![]() | System |
System views are not shown in the menu
|
![]() | UId | |
![]() | UserGroupIds |
Users of the view. Only the group members can see the view in the menu structure.
|
![]() | ViewClass |
Name | Description | |
---|---|---|
![]() | AddUserGroup |
Adds a usergroup to the UserGroupIds collection
|
![]() | ClearUserGroups |
Removes all items from the UserGroupIds collection
|
![]() | Clone | |
![]() | CloneView | |
![]() | CloneView(Boolean) | Obsolete. |
![]() | PassesFilter | |
![]() | ResetAll |
Nulstiller objektets id m.v.
Metoden anvendes hvis man vil oprette et nyt view (i db)
som en kopi af et andet.
|
![]() | ToString | (Overrides ObjectToString.) |
![]() | ToString(AppFormatInfo) |
Name | Description | |
---|---|---|
![]() | m_description | |
![]() | m_owner | |
![]() | m_userGroupIds |
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.
|