Class Industry
Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
Syntax
[DataContract]
public class Industry : BaseEntityWithPermissions, IIndustry, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IIndustry>
Constructors
Industry()
Declaration
Properties
Description
A user friendly description of this industry
Declaration
[StringLength(2000)]
public string Description { get; set; }
Property Value
Name
[Key] The unique user friendly Industry name
Declaration
[Unique]
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
ShortCode
The unique short code for this industry
Declaration
[Unique(AllowNullOrEmpty = true)]
[StringLength(25)]
public string ShortCode { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IIndustry)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IIndustry source)
Parameters
Type |
Name |
Description |
IIndustry |
source |
The source object to copy all values from.
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods