Class Safe
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class Safe : BaseEntityWithPermissions, ISafe, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ISafe>
Constructors
Safe()
Declaration
Properties
AllEntityTypes
Indicates this safe works for all entity types.
Declaration
public bool AllEntityTypes { get; set; }
Property Value
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
public bool CanMoveAllEntityTypeIntoSafe { get; set; }
Property Value
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
public bool CanMoveAllEntityTypeOutOfSafe { get; set; }
Property Value
Color
Hex color value to display for this value in the title bar when in use
Declaration
[StringLength(10)]
public string Color { get; set; }
Property Value
Description
A user friendly description of the purpose of this safe
Declaration
[StringLength(2000)]
public string Description { get; set; }
Property Value
Name
[Key] The unique user friendly name for this safe
Declaration
[Unique]
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(ISafe)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ISafe source)
Parameters
Type |
Name |
Description |
ISafe |
source |
The source object to copy all values from.
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods