Class NumericAttribute
Indicates that the property maps to a numeric database column.
Inheritance
System.Object
NumericAttribute
Namespace: Paradigm.ORM.Data.Attributes
Assembly: Paradigm.ORM.Data.dll
Syntax
public class NumericAttribute : Attribute
Constructors
| Improve this Doc View SourceNumericAttribute()
Initializes a new instance of the NumericAttribute class.
Declaration
public NumericAttribute()
NumericAttribute(Byte, Byte)
Initializes a new instance of the NumericAttribute class.
Declaration
public NumericAttribute(byte precision, byte scale)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | precision | The numeric precision. |
System.Byte | scale | The numeric scale. |
Properties
| Improve this Doc View SourcePrecision
Gets or sets the numeric precision.
Declaration
public byte Precision { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Scale
Gets or sets the numeric scale.
Declaration
public byte Scale { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |