Class DefaultObject
Implements
Inherited Members
Namespace: LemonEdge.API.Entities.Design
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
[DatabaseClassValidation(typeof(DefaultObjectValidation), "Validate")]
public class DefaultObject : BaseEntityWithPermissions, IDefaultObject, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IDefaultObject>
Constructors
DefaultObject()
Declaration
public DefaultObject()
Properties
Description
Description for the new object being created automatically
Declaration
[StringLength(2500)]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityTypeID
[Key] Indicates what type of entity you want to create a corrosponding new item against.
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
NewEntityTypeID
[Key] Indicates what type of new item you want to create against any new EntityTypeID.
Declaration
[RequiredNoDefaultIDValidation]
public Guid NewEntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Type | Name | Description |
---|---|---|
IBaseEntity | src |
Overrides
CopyFromSource(IDefaultObject)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IDefaultObject source)
Parameters
Type | Name | Description |
---|---|---|
IDefaultObject | source | The source object to copy all values from. |