Share via


RuntimeElementType.IReadOnlyElementType.GetPrecision Method

Definition

Gets the precision of data that is allowed in elements of the collection. For example, if the element type is a Decimal, then this is the maximum number of digits.

[System.Diagnostics.DebuggerStepThrough]
int? IReadOnlyElementType.GetPrecision ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType.GetPrecision : unit -> Nullable<int>
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType.GetPrecision : unit -> Nullable<int>
Function GetPrecision () As Nullable(Of Integer) Implements IReadOnlyElementType.GetPrecision

Returns

The precision, or null if none is defined.

Implements

Attributes

Applies to