Show / Hide Table of Contents

Class CaseRelation

The payroll case relation client object

Inheritance
object
ModelBase
CaseRelation
Implements
ICaseRelation
IModel
IAttributeObject
IKeyEquatable<ICaseRelation>
IEquatable<ICaseRelation>
Inherited Members
ModelBase.ToString()
ModelBase.Id
ModelBase.IsExistingObject
ModelBase.IsNewObject
ModelBase.Status
ModelBase.Created
ModelBase.Updated
ModelBase.UpdateMode
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class CaseRelation : ModelBase, ICaseRelation, IModel, IAttributeObject, IKeyEquatable<ICaseRelation>, IEquatable<ICaseRelation>

Constructors

CaseRelation()

Initializes a new instance

Declaration
public CaseRelation()

CaseRelation(CaseRelation)

Initializes a new instance from a copy

Declaration
public CaseRelation(CaseRelation copySource)
Parameters
Type Name Description
CaseRelation copySource

The copy source

Properties

Attributes

Declaration
[JsonPropertyOrder(117)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type Description
Dictionary<string, object>

BuildActions

The case relation build actions

Declaration
[JsonPropertyOrder(114)]
public List<string> BuildActions { get; set; }
Property Value
Type Description
List<string>

BuildExpression

The expression used to build the case relation

Declaration
[JsonPropertyOrder(108)]
public string BuildExpression { get; set; }
Property Value
Type Description
string

BuildExpressionFile

The expression used to build the case relation file

Declaration
[JsonPropertyOrder(109)]
public string BuildExpressionFile { get; set; }
Property Value
Type Description
string

Clusters

The case relation clusters

Declaration
[JsonPropertyOrder(116)]
public List<string> Clusters { get; set; }
Property Value
Type Description
List<string>

Order

The case relation order

Declaration
[JsonPropertyOrder(113)]
public int Order { get; set; }
Property Value
Type Description
int

OverrideType

The override type

Declaration
[JsonPropertyOrder(112)]
public OverrideType OverrideType { get; set; }
Property Value
Type Description
OverrideType

SourceCaseName

The relation source case name (immutable)

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string SourceCaseName { get; set; }
Property Value
Type Description
string

SourceCaseNameLocalizations

The localized source case names

Declaration
[JsonPropertyOrder(101)]
public Dictionary<string, string> SourceCaseNameLocalizations { get; set; }
Property Value
Type Description
Dictionary<string, string>

SourceCaseSlot

The relation source case slot

Declaration
[StringLength(128)]
[JsonPropertyOrder(102)]
public string SourceCaseSlot { get; set; }
Property Value
Type Description
string

SourceCaseSlotLocalizations

The localized source case slots

Declaration
[JsonPropertyOrder(103)]
public Dictionary<string, string> SourceCaseSlotLocalizations { get; set; }
Property Value
Type Description
Dictionary<string, string>

TargetCaseName

The relation target case name (immutable)

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(104)]
public string TargetCaseName { get; set; }
Property Value
Type Description
string

TargetCaseNameLocalizations

The localized target case names

Declaration
[JsonPropertyOrder(105)]
public Dictionary<string, string> TargetCaseNameLocalizations { get; set; }
Property Value
Type Description
Dictionary<string, string>

TargetCaseSlot

The relation target case slot

Declaration
[StringLength(128)]
[JsonPropertyOrder(106)]
public string TargetCaseSlot { get; set; }
Property Value
Type Description
string

TargetCaseSlotLocalizations

The localized target case slots

Declaration
[JsonPropertyOrder(107)]
public Dictionary<string, string> TargetCaseSlotLocalizations { get; set; }
Property Value
Type Description
Dictionary<string, string>

ValidateActions

The case relation validate actions

Declaration
[JsonPropertyOrder(115)]
public List<string> ValidateActions { get; set; }
Property Value
Type Description
List<string>

ValidateExpression

The expression which evaluates if the case relation is valid

Declaration
[JsonPropertyOrder(110)]
public string ValidateExpression { get; set; }
Property Value
Type Description
string

ValidateExpressionFile

The expression which evaluates if the case relation is valid file

Declaration
[JsonPropertyOrder(111)]
public string ValidateExpressionFile { get; set; }
Property Value
Type Description
string

Methods

EqualKey(ICaseRelation)

Test for the same item key

Declaration
public virtual bool EqualKey(ICaseRelation compare)
Parameters
Type Name Description
ICaseRelation compare
Returns
Type Description
bool

Equals(ICaseRelation)

Declaration
public virtual bool Equals(ICaseRelation compare)
Parameters
Type Name Description
ICaseRelation compare
Returns
Type Description
bool

GetUiString()

The object UI string

Declaration
public override string GetUiString()
Returns
Type Description
string
Overrides
ModelBase.GetUiString()

Implements

ICaseRelation
IModel
IAttributeObject
IKeyEquatable<T>
IEquatable<T>

Extension Methods

ScriptExtensions.HasAnyScript(CaseRelation)
ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX