Search Results for

    Show / Hide Table of Contents

    Interface IRecentItem

    The system entity for recent items

    Inherited Members
    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.Data
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.RecentItem, "dbo.LT_RecentItems", "RecentItem", LabelColumn = "Name", DontPromoteFromCanvas = true)]
    [DefaultEntityIcon(ImageType.History)]
    [EntityIndex(Name = "Recent", ColumnNames = new string[] { "RecentItemID", "ModifiedByUserID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = true)]
    public interface IRecentItem : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    CustomLayoutID

    Links to ILayout. Any custom layout to apply to this item when being displayed.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    [EntityRelationship(EntityID.Layouts, "ID", SingleJoinType.ZeroToOne, "Custom Layout", "Recent Item", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false, PreventAutoConstraint = false)]
    [EntityDescription("Any custom layout to apply to this item when being displayed.")]
    Guid? CustomLayoutID { get; set; }
    Property Value
    Type Description
    Guid?

    Name

    The name of the item being linked to by this recent item entity. Usually just the label from the entity as defined by LabelColumn

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, false)]
    [EntityDescription("The name of the item being linked to.")]
    [Required]
    string Name { get; set; }
    Property Value
    Type Description
    string

    RecentItemID

    [Key] The globally unique id of the entity (of type FavouriteTypeID) being linked to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityDescription("The item itself.")]
    [EntityKeyProperty]
    [EntityLinkToAnyParentRelationship("RecentItemTypeID", SingleJoinType.One, "Recent Items", false, new Type[] { typeof(IVennSetQueryableItem), typeof(ISQLTypeWrapper), typeof(IDatasetQueryableItem) })]
    Guid RecentItemID { get; set; }
    Property Value
    Type Description
    Guid

    RecentItemTypeID

    [Key] The type of entity that is being linked to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
    [EntityDescription("The type of item.")]
    [EntityKeyProperty]
    Guid RecentItemTypeID { get; set; }
    Property Value
    Type Description
    Guid

    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)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.