Share via


RuntimeProperty.IReadOnlyProperty.GetScale Method

Definition

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

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

Returns

The scale, or null if none is defined.

Implements

Attributes

Applies to