Search Results for

    Show / Hide Table of Contents

    Interface ILayoutRole

    The system entity for a layout role, which indicates which custom layouts a role can use

    See https://web.lemonedge.com/help/layout-roles-view/ for more information

    Inherited Members
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(Object)
    ICloneableAsync.CopyFromSource(Object)
    ICanTrackProperties.HasTrackedPropertyChanged(String)
    ICanTrackProperties.OriginalTrackedPropertyValue(String)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(String)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    Namespace: LemonEdge.API.Entities
    Assembly: API.dll
    Syntax
    [EntityDefinition(EntityID.LayoutRoles, "dbo.LT_LayoutRoles", "LayoutRole", IsStandingDataEntity = true)]
    [DefaultEntityIcon(ImageType.Layouts)]
    public interface ILayoutRole : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    IsDefault

    Indicates that this layout should always be used by this role when viewing that type of data for the layout.

    A Role can multiple layouts all designed to show the same data type.Only one can be the default and the rest can be customised to be specifically used when required.

    Declaration
    [EntityProperty(SQLType.Bit, false, "0")]
    bool IsDefault { get; set; }
    Property Value
    Type Description
    System.Boolean

    LayoutID

    [Key] Links to ILayout. The Layout this Role will have access to.

    This view is hidden/disabled when viewed from a Layout itself, and visible/editable when viewed from a Role.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityRelationship(EntityID.Layouts, "ID", SingleJoinType.One, "Roles", "Layouts", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = true)]
    Guid LayoutID { get; set; }
    Property Value
    Type Description
    System.Guid

    RoleID

    [Key] Links to IRole. The Role that will have access to this Layout.

    This view is hidden/disabled when viewed from a Role itself, and visible/editable when viewed from a Layout.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityRelationship(EntityID.Roles, "ID", SingleJoinType.One, "Layouts", "Roles", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
    Guid RoleID { get; set; }
    Property Value
    Type Description
    System.Guid

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    ILayout
    IRole
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.