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
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Core
Assembly: 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.")]
bool Locked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |