Interface ICustomObjectData
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
ByteArrayValue
Declaration
[EntityProperty(SQLType.VarBinary, true)]
byte[] ByteArrayValue { get; set; }
Property Value
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
CustomObjectPropertyName
Declaration
[EntityProperty(SQLType.NVarChar, 50, true)]
[EntityKeyProperty]
string CustomObjectPropertyName { get; set; }
Property Value
DateValue
Declaration
[EntityProperty(SQLType.DateTimeOffset, true, IsDate = true)]
DateTimeOffset? DateValue { get; set; }
Property Value
DecimalValue
Declaration
[EntityProperty(SQLType.Decimal, 36, 25, true)]
decimal? DecimalValue { get; set; }
Property Value
IDValue
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
Guid? IDValue { get; set; }
Property Value
ItemID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityLinkToAnyParentRelationship("CustomObjectID", SingleJoinType.One, "User Data", false, null, DeleteWithRelationship = false)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
Guid ItemID { get; set; }
Property Value
TextValue
Declaration
[EntityProperty(SQLType.NVarChar, true)]
string TextValue { get; set; }
Property Value
Extension Methods
See Also