Search Results for

    Show / Hide Table of Contents

    Interface ICustomObjectData

    The system entity for a Custom Object Data, which holds the data of a custom entity when in userdata mode within the lemonedge platform

    See https://help.lemonedge.com/help/api/auto-code-designers/custom-entities/intro.html for more information

    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.Design
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.CustomObjectData, "dbo.LT_CustomObjectData", "CustomObjectData", HelpURL = "help/api/auto-code-designers/custom-entities/intro.html")]
    [DefaultEntityIcon(ImageType.EntityDefinition)]
    [EntityIndex(Name = "CustomObjectItem", ColumnNames = new string[] { "CustomObjectID", "ItemID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
    [EntityIndex(Name = "CustomObjectItemProp", ColumnNames = new string[] { "CustomObjectID", "ItemID", "CustomObjectPropertyName" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = true)]
    public interface ICustomObjectData : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    BoolValue

    Declaration
    [EntityProperty(SQLType.Bit, true)]
    bool? BoolValue { get; set; }
    Property Value
    Type Description
    bool?

    ByteArrayValue

    Declaration
    [EntityProperty(SQLType.VarBinary, true)]
    byte[] ByteArrayValue { get; set; }
    Property Value
    Type Description
    byte[]

    CustomObjectID

    [Key] Links to ICustomObject. The parent custom object this entity belongs to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityRelationship(EntityID.CustomObject, "ID", SingleJoinType.One, "Custom Entitiy", "User Data", DeleteWithRelationship = true, PartOfParentSet = false, InheritPermissions = false)]
    [RequiredNoDefaultIDValidation]
    [EntityKeyProperty]
    Guid CustomObjectID { get; set; }
    Property Value
    Type Description
    Guid

    CustomObjectPropertyName

    The name of the property

    Declaration
    [EntityProperty(SQLType.NVarChar, 50, true)]
    [EntityKeyProperty]
    string CustomObjectPropertyName { get; set; }
    Property Value
    Type Description
    string

    DateValue

    Declaration
    [EntityProperty(SQLType.DateTimeOffset, true, IsDate = true)]
    DateTimeOffset? DateValue { get; set; }
    Property Value
    Type Description
    DateTimeOffset?

    DecimalValue

    Declaration
    [EntityProperty(SQLType.Decimal, 36, 25, true)]
    decimal? DecimalValue { get; set; }
    Property Value
    Type Description
    decimal?

    IDValue

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    Guid? IDValue { get; set; }
    Property Value
    Type Description
    Guid?

    ItemID

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityLinkToAnyParentRelationship("CustomObjectID", SingleJoinType.One, "User Data", false, null, DeleteWithRelationship = false)]
    [RequiredNoDefaultIDValidation]
    [EntityKeyProperty]
    Guid ItemID { get; set; }
    Property Value
    Type Description
    Guid

    TextValue

    Declaration
    [EntityProperty(SQLType.NVarChar, true)]
    string TextValue { 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

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