Table of Contents

Class OrderParameter

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

Represents a additional parameter for a Order instance.

public class OrderParameter : AdditionalParameter, INotifyPropertyChanged, ITrackable, IHasKey, IEquatable<AdditionalParameter>, ICanApplyID<AdditionalParameter>, IEquatable<OrderParameter>, ICanApplyID<OrderParameter>
Inheritance
OrderParameter
Implements
Inherited Members
Extension Methods

Properties

AdditionalParameterDefinitions

Gets the additional parameter definitions.

protected override IDictionary<string, IAdditionalParameterDefinition> AdditionalParameterDefinitions { get; }

Property Value

IDictionary<string, IAdditionalParameterDefinition>

Order

Gets the order, to which the additional parameter belongs.

[JsonIgnore]
public virtual Order Order { get; }

Property Value

Order

OrderId

Gets the foreign key.

[JsonIgnore]
public int OrderId { get; }

Property Value

int

Methods

ApplyID(OrderParameter)

Copies the ID from source to ID and the OrderId.

public void ApplyID(OrderParameter source)

Parameters

source OrderParameter

Source object.

Equals(OrderParameter)

Indicates whether the current object is equal to another object of the same type. Depends on the Key and Text.

public bool Equals(OrderParameter other)

Parameters

other OrderParameter

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.