PropertyExtensions.GetPrecision(IProperty) Yöntem

Tanım

Bu özellikte izin verilen verilerin duyarlığı alır. Örneğin, özelliği bir Decimal ise, bu basamak sayısı üst sayısıdır.

public static int? GetPrecision (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetPrecision : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Nullable<int>
<Extension()>
Public Function GetPrecision (property As IProperty) As Nullable(Of Integer)

Parametreler

property
IProperty

Duyarlığı almak için özelliği.

Döndürülenler

Nullable<Int32>

Duyarlık veya null tanımlanmamışsa.

Şunlara uygulanır