Click or drag to resize

ViewBase Class

ViewBase is the base class for the DataObjectView class.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelViewBase
    Omada.OE.ModelDataObjectView

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

The ViewBase type exposes the following members.

Constructors
  NameDescription
Public methodViewBase
Top
Properties
  NameDescription
Public propertyActiveUserCanUseView
Is the active user allowed to use the view?
Public propertyChangedBy
Public propertyChangeTime
Public propertyCreatedBy
Public propertyCreateTime
Public propertyDataVersion
Public propertyDescription
Description can be null
Public propertyId
Public propertyMenuItemId
The ID of the menu item under which the view is placed.
Public propertyName
Public propertyNumber
Public propertyOwner
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?
Public propertyOwnerId
The administrators/owners of the view. Only the owners can edit the view. OwnerId is the id of a user group.
Public propertySettings
Contains additional settings for the view. Configured in the XML structure in the column tblDataObjectView.SettingsXML.
Public propertySystem
System views are not shown in the menu
Public propertyUId
Public propertyUserGroupIds
Users of the view. Only the group members can see the view in the menu structure.
Public propertyViewClass
Top
Methods
  NameDescription
Public methodAddUserGroup
Adds a usergroup to the UserGroupIds collection
Public methodClearUserGroups
Removes all items from the UserGroupIds collection
Public methodClone
Public methodCloneView
Public methodCloneView(Boolean) Obsolete.
Public methodPassesFilter
Public methodResetAll
Nulstiller objektets id m.v. Metoden anvendes hvis man vil oprette et nyt view (i db) som en kopi af et andet.
Public methodToString (Overrides ObjectToString.)
Public methodToString(AppFormatInfo)
Top
Fields
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 methodIObjectWithDataVersion.GetDataVersion
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