Share via


RuntimeProperty.IReadOnlyProperty.GetPrecision Method

Definition

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

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

Returns

The precision, or null if none is defined.

Implements

Attributes

Applies to