StateRowLock Class

Class for lock control.

Definition

Namespace: Aliquo.Core.Models
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
[SerializableAttribute]
public class StateRowLock
Inheritance
Object    StateRowLock

Constructors

StateRowLockInitializes a new instance of the StateRowLock class

Properties

Date If there is a lock then show the date of the lock.
IsLocked Indicates whether the status is blocked.
Message Text string in the warning message in case of block.
Process If a lock exists, this property displays the friendly name of the process that caused the lock.
User If there is a lock then show the username that caused the lock.

Methods

ToString Shows the status of the lock, if a lock exists it shows the lock warning message and otherwise returns nothing
(Overrides ObjectToString)

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also