Interface IPermission
The system entity for a period end adjustment entity, which is a part of a period end that the user can add adjustments to
See https://help.lemonedge.com/permissions-tool-window/ for more information
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.Permissions, "dbo.LT_Permissions", "Permission", ReplicateForEachDescriptorType = typeof(IBaseEntityWithPermissions))]
[DefaultEntityIcon(ImageType.LockKey)]
public interface IPermission : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, IPermissionChecker
Properties
EntityID
[Key] The globally unique id of the entity (of type EntityTypeID) these permissions are for
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[ReplicatedEntityRelationship(SingleJoinType.One, "Permissioned Item", "Permissions", DeleteWithRelationship = true, PreventAutoConstraint = true, PartOfParentSet = false)]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
EntityTypeID
The type of entity this set of permissions is for
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, UseForReplicatingDescriptorType = true, IsEntityTypeLink = true)]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TeamID
The team you are assigning a new overriding set of permissions to for this current active data record
Declaration
[EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Team", "Permissions", DeleteWithRelationship = true, PreventAutoConstraint = true)]
[EntityProperty(SQLType.UniqueIdentifier, false)]
Guid TeamID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |