Class AttributeLimit
- Namespace
- Loehnert.TypeAndResult
- Assembly
- Loehnert.TypeAndResult.dll
An additional limit for a Attribute object.
[MessagePackObject(false)]
[SuppressMessage("Design", "RCS1170", Justification = "Private setters are needed for entity framework")]
public class AttributeLimit : Limit, INotifyPropertyChanged, ITrackable, IEquatable<Limit>, ICanApplyID<Limit>, IEquatable<AttributeLimit>, ICanApplyID<AttributeLimit>, IHasKey
- Inheritance
-
AttributeLimit
- Implements
- Inherited Members
- Extension Methods
Properties
Attribute
Gets the Point object, to which the additional limit belongs.
[JsonIgnore]
[IgnoreMember]
public virtual Attribute Attribute { get; }
Property Value
AttributeId
Gets the foreign key for Attribute.
[JsonIgnore]
[IgnoreMember]
public int AttributeId { get; }
Property Value
Key
Gets or sets the key.
[Key(3)]
public string Key { get; set; }
Property Value
Methods
ApplyID(AttributeLimit)
public void ApplyID(AttributeLimit source)
Parameters
sourceAttributeLimitSource object.
Equals(AttributeLimit)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AttributeLimit other)
Parameters
otherAttributeLimitAn object to compare with this object.
Returns
- bool
true if the current object is equal to the other limit; otherwise, false.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.