Share via


PrecisionAttribute Constructors

Definition

Overloads

PrecisionAttribute(Int32)

Initializes a new instance of the PrecisionAttribute class.

PrecisionAttribute(Int32, Int32)

Initializes a new instance of the PrecisionAttribute class.

PrecisionAttribute(Int32)

Initializes a new instance of the PrecisionAttribute class.

public PrecisionAttribute (int precision);
new Microsoft.EntityFrameworkCore.PrecisionAttribute : int -> Microsoft.EntityFrameworkCore.PrecisionAttribute
Public Sub New (precision As Integer)

Parameters

precision
Int32

The precision of the property.

Applies to

PrecisionAttribute(Int32, Int32)

Initializes a new instance of the PrecisionAttribute class.

public PrecisionAttribute (int precision, int scale);
new Microsoft.EntityFrameworkCore.PrecisionAttribute : int * int -> Microsoft.EntityFrameworkCore.PrecisionAttribute
Public Sub New (precision As Integer, scale As Integer)

Parameters

precision
Int32

The precision of the property.

scale
Int32

The scale of the property.

Applies to