Show / Hide Table of Contents

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 Source

NumericAttribute()

Initializes a new instance of the NumericAttribute class.

Declaration
public NumericAttribute()
| Improve this Doc View Source

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 Source

Precision

Gets or sets the numeric precision.

Declaration
public byte Precision { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

Scale

Gets or sets the numeric scale.

Declaration
public byte Scale { get; set; }
Property Value
Type Description
System.Byte

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.