Class WorkspaceInfo
- Namespace
- CMS.Workspaces
- Assembly
- CMS.Workspaces.dll
Data container class for WorkspaceInfo.
[Serializable]
[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name, Priority = InfoCachePriority.NotRemovable)]
public class WorkspaceInfo : AbstractInfo<WorkspaceInfo, IInfoProvider<WorkspaceInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithGuid, IInfoWithName
- Inheritance
-
objectWorkspaceInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
WorkspaceInfo()
Creates and empty instance of the WorkspaceInfo class.
public WorkspaceInfo()
WorkspaceInfo(DataRow)
Creates a new instance of the WorkspaceInfo class from the given System.Data.DataRow.
public WorkspaceInfo(DataRow dr)
Parameters
dr
DataRowData row with the object data
Fields
OBJECT_TYPE
Object type.
public const string OBJECT_TYPE = "cms.workspace"
Field Value
- string
TYPEINFO
Type information.
public static readonly ObjectTypeInfo TYPEINFO
Field Value
Properties
WorkspaceDisplayName
Workspace display name.
[DatabaseField]
public virtual string WorkspaceDisplayName { get; set; }
Property Value
- string
WorkspaceGUID
Workspace GUID.
[DatabaseField]
public virtual Guid WorkspaceGUID { get; set; }
Property Value
- Guid
WorkspaceID
Workspace ID.
[DatabaseField]
public virtual int WorkspaceID { get; set; }
Property Value
- int
WorkspaceName
Workspace name.
[DatabaseField]
public virtual string WorkspaceName { get; set; }
Property Value
- string
Methods
DeleteData()
Deletes the object from the database.
protected override void DeleteData()
DeleteDataAsync(CancellationToken)
Asynchronously deletes the object from the database.
protected override Task DeleteDataAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenThe cancellation instruction.
Returns
- Task
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
LoadDefaultData()
Sets the object default values
protected override void LoadDefaultData()
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()