Class CustomImage
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class CustomImage : BaseEntityWithPermissions, ICustomImage, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ICustomImage>
Constructors
CustomImage()
Declaration
Properties
Description
A helpful description of the image
Declaration
[StringLength(2500)]
public string Description { get; set; }
Property Value
Image
Declaration
public byte[] Image { get; set; }
Property Value
ImageID
This is the unique ID for this image to be used when referring to it from code. This ID enables the Custom Image to
be reused across multiple different databases and still referenced by the same AddIn Modules and custom code.
Declaration
public Guid ImageID { get; set; }
Property Value
Name
A unique user friendly name to identify this image.
Declaration
[Unique]
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(ICustomImage)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ICustomImage source)
Parameters
Type |
Name |
Description |
ICustomImage |
source |
The source object to copy all values from.
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods