Interface ISafe
Inherited Members
Namespace: LemonEdge.API.Entities.Data
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.Safe, "dbo.LT_Safes", "Safe", LabelColumn = "Name", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.Safe)]
public interface ISafe : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
AllEntityTypes
Indicates this safe works for all entity types.
Declaration
[EntityDescription("Indicates this safe works for all entity types.")]
[EntityProperty(SQLType.Bit, false, "0")]
bool AllEntityTypes { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanMoveAllEntityTypeIntoSafe
Indicates all entity types can also be moved into the safe by a user, and not just created within the safe. Specific Entity Types can be overidden.
Declaration
[EntityDescription("Indicates all entity types can also be moved into the safe by a user, and not just created within the safe. Specific Entity Types can be overidden.")]
[EntityProperty(SQLType.Bit, false, "0")]
bool CanMoveAllEntityTypeIntoSafe { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanMoveAllEntityTypeOutOfSafe
Indicates all entity types can also be moved out of the safe by a user, and not just created within the safe. Specific Entity Types can be overidden.
Declaration
[EntityDescription("Indicates all entity types can also be moved out of the safe by a user, and not just created within the safe. Specific Entity Types can be overidden.")]
[EntityProperty(SQLType.Bit, false, "0")]
bool CanMoveAllEntityTypeOutOfSafe { get; set; }
Property Value
Type | Description |
---|---|
bool |
Color
Hex color value to display for this value in the title bar when in use
Declaration
[EntityProperty(SQLType.NVarChar, 10, true)]
[EntityDescription("Hex color value to display for this value in the title bar when in use.")]
string Color { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
A user friendly description of the purpose of this safe
Declaration
[EntityProperty(SQLType.NVarChar, 2000, true)]
[EntityDescription("A user friendly description of this safes function.")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
[Key] The unique user friendly name for this safe
Declaration
[EntityProperty(SQLType.NVarChar, 500, false)]
[EntityKeyProperty]
[EntityDescription("The unique name of this Safe.")]
[Unique]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |