Class LookupData
Localized lookup for UI cases like list/grid selections
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class LookupData : ILookupData, IEquatable<ILookupData>
Constructors
LookupData()
Initializes a new instance
Declaration
public LookupData()
LookupData(LookupData)
Initializes a new instance from a copy
Declaration
public LookupData(LookupData copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| LookupData | copySource | The copy source |
Properties
Culture
The culture of the values
Declaration
public string Culture { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The lookup name
Declaration
[Required]
[StringLength(128)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RangeSize
The lookup range size
Declaration
public decimal? RangeSize { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal? |
Values
The lookup values
Declaration
[Required]
public LookupValueData[] Values { get; set; }
Property Value
| Type | Description |
|---|---|
| LookupValueData[] |
Methods
Equals(ILookupData)
Declaration
public virtual bool Equals(ILookupData compare)
Parameters
| Type | Name | Description |
|---|---|---|
| ILookupData | compare |
Returns
| Type | Description |
|---|---|
| bool |
ToString()
Returns a string that represents this instance
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance |