Search Results for

    Show / Hide Table of Contents

    Interface ICustomListItem

    The system entity for custom list items, which are a collection of values that can be selected by the user against a Custom List

    Inherited Members
    ISetCopier.GetCopyInfo(IEntityUpdater)
    IShareAcrossAccounts.IsShared
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    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.Design
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.CustomListItem, "dbo.LT_CustomListItems", "CustomListItem", LabelColumn = "Name", IsStandingDataEntity = true)]
    [DefaultEntityIcon(ImageType.ChecklistComplete)]
    [MultipleUnique(new string[] { "Name", "CustomListID" })]
    [EntityIndex(Name = "ListItems", ColumnNames = new string[] { "CustomListID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
    [DatabaseClassValidation(typeof(CustomListItemValidation), "ValidateListItem")]
    public interface ICustomListItem : ISetCopier, IShareAcrossAccounts, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    CustomListID

    [Key] Links to ICustomGrid. The parent custom grid this entity is a member of

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityRelationship(EntityID.CustomList, "ID", SingleJoinType.One, "Custom List", "List Items", DeleteWithRelationship = true, PartOfParentSet = true, InheritPermissions = true)]
    [RequiredNoDefaultIDValidation]
    [EntityKeyProperty]
    Guid CustomListID { get; set; }
    Property Value
    Type Description
    Guid

    Description

    A user friendly description of this custom list and its values

    Declaration
    [EntityProperty(SQLType.NVarChar, 2000, true)]
    [EntityDescription("A user friendly description of this custom list item.")]
    string Description { get; set; }
    Property Value
    Type Description
    string

    EnumCode

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, true)]
    [EntityDescription("The unique code of this Custom List Item that can be returned from the formula engine.")]
    string EnumCode { get; set; }
    Property Value
    Type Description
    string

    EnumValue

    Declaration
    [EntityProperty(SQLType.Decimal, 16, 2, true)]
    [EntityDescription("The unique value of this Custom List Item that can be returned from the formula engine.")]
    decimal? EnumValue { get; set; }
    Property Value
    Type Description
    decimal?

    Index

    Holds the index of this custom list item within the custom list. Once used this should not be changed as it is how values are stored for this enum.

    Declaration
    [EntityProperty(SQLType.SmallInt, false, "0")]
    [EntityDescription("Holds the index of this custom list item within the custom list. Once used this should not be changed as it is how values are stored for this enum.")]
    [EntityKeyProperty]
    [DBTrackChanges]
    short Index { get; set; }
    Property Value
    Type Description
    short

    Name

    [Key] A unique friendly name for this custom list item.

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, false)]
    [EntityDescription("The unique name of this Custom List Item.")]
    [Required]
    [DBTrackChanges]
    [DatabasePropertyValidation("true", "await LemonEdge.API.Entities.Design.CustomListItemValidation.IsListNameValid(MyItem, Data)", "The PropertyName is invalid.")]
    string Name { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    ICustomList
    ICustomListItem
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.