Class RangeAttribute
Indicates that the property maps to a column with a max and minimum values.
Inheritance
System.Object
RangeAttribute
Namespace: Paradigm.ORM.Data.Attributes
Assembly: Paradigm.ORM.Data.dll
Syntax
public class RangeAttribute : Attribute
Constructors
| Improve this Doc View SourceRangeAttribute()
Initializes a new instance of the RangeAttribute class.
Declaration
public RangeAttribute()
RangeAttribute(String, String)
Initializes a new instance of the RangeAttribute class.
Declaration
public RangeAttribute(string minValue, string maxValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | minValue | The minimum value. |
System.String | maxValue | The maximum value. |
Properties
| Improve this Doc View SourceMaxValue
Gets or sets the maximum value.
Declaration
public string MaxValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MinValue
Gets or sets the minimum value.
Declaration
public string MinValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |