Interface ISafeEntityType
Inherited Members
Namespace: LemonEdge.API.Entities.Data
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.SafeEntityTypes, "dbo.LT_SafeEntityTypes", "SafeEntityType", IsStandingDataEntity = true)]
[MultipleUnique(new string[] { "ParentSafeID", "EntityTypeID" })]
[DefaultEntityIcon(ImageType.SafeOk)]
[EntityIndex(Name = "Safe", ColumnNames = new string[] { "ParentSafeID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
public interface ISafeEntityType : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
CanMoveEntityTypeIntoSafe
Indicates this entity type can also be moved into the safe by a user, and not just created within the safe
Declaration
[EntityDescription("Indicates this entity type can also be moved into the safe by a user, and not just created within the safe.")]
[EntityProperty(SQLType.Bit, false, "0")]
bool CanMoveEntityTypeIntoSafe { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanMoveEntityTypeOutOfSafe
Indicates this entity type can also be moved out of the safe by a user, and not just created within the safe
Declaration
[EntityDescription("Indicates this entity type can also be moved out of the safe by a user, and not just created within the safe.")]
[EntityProperty(SQLType.Bit, false, "0")]
bool CanMoveEntityTypeOutOfSafe { get; set; }
Property Value
Type | Description |
---|---|
bool |
EntityTypeID
[Key] Links to ISafe. The type of entity that is allowed within this safe.
Declaration
[EntityDescription("The type of entity that is allowed within this safe.")]
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
[EntityKeyProperty]
[RequiredNoDefaultIDValidation]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
ParentSafeID
[Key] Links to ISafe. The Safe you want to specify the type of entity that is allowed in it.
Declaration
[EntityDescription("The Safe you want to specify the type of entity that is allowed in it.")]
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Safe, "ID", SingleJoinType.One, "Safe", "Entity Types Allowed In Safe", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
Guid ParentSafeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |