Interface ICanBeLocked
Indicates this entity can be locked. The system enforces locked items in the core and ensures they can not be modified when they are marked as locked.
For example, transactions use this to lock them when they are finalized or cancelled
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: LemonEdge.API.dll
Syntax
public interface ICanBeLocked : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
Locked
Indicates the current record is locked and can not be modified until it is unlocked.
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[Required]
[EntityDescription("Indicates the current record is locked and can not be modified until it is unlocked.")]
[DBTrackChanges]
[SetItemClearOnCopy]
bool Locked { get; set; }
Property Value
Type | Description |
---|---|
bool |