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
Order
Gets the order, to which the additional parameter belongs.
[JsonIgnore]
public virtual Order Order { get; }
Property Value
OrderId
Gets the foreign key.
[JsonIgnore]
public int OrderId { get; }
Property Value
Methods
ApplyID(OrderParameter)
public void ApplyID(OrderParameter source)
Parameters
source
OrderParameterSource 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
OrderParameterAn object to compare with this object.
Returns
- bool
true if the current object is equal to the other parameter; otherwise, false.