Share via


ElementTypeBuilder.HasPrecision Method

Definition

Overloads

HasPrecision(Int32)

Configures the precision of elements of the collection.

HasPrecision(Int32, Int32)

Configures the precision and scale of elements of the collection.

HasPrecision(Int32)

Configures the precision of elements of the collection.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder HasPrecision (int precision);
abstract member HasPrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder
override this.HasPrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder
Public Overridable Function HasPrecision (precision As Integer) As ElementTypeBuilder

Parameters

precision
Int32

The precision of elements of the collection.

Returns

The same builder instance so that multiple configuration calls can be chained.

Applies to

HasPrecision(Int32, Int32)

Configures the precision and scale of elements of the collection.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder HasPrecision (int precision, int scale);
abstract member HasPrecision : int * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder
override this.HasPrecision : int * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder
Public Overridable Function HasPrecision (precision As Integer, scale As Integer) As ElementTypeBuilder

Parameters

precision
Int32

The precision of elements of the collection.

scale
Int32

The scale of elements of the collection.

Returns

The same builder instance so that multiple configuration calls can be chained.

Applies to