RelationalPropertyExtensions.GetPrecision Méthode

Définition

Surcharges

GetPrecision(IReadOnlyProperty, StoreObjectIdentifier)

Obtient la précision des données autorisées dans cette propriété. Par exemple, si la propriété est un Decimal , il s’agit du nombre maximal de chiffres.

GetPrecision(IProperty, StoreObjectIdentifier)

Obtient la précision des données autorisées dans cette propriété. Par exemple, si la propriété est un Decimal , il s’agit du nombre maximal de chiffres.

GetPrecision(IReadOnlyProperty, StoreObjectIdentifier)

Obtient la précision des données autorisées dans cette propriété. Par exemple, si la propriété est un Decimal , il s’agit du nombre maximal de chiffres.

public static int? GetPrecision (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetPrecision : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<int>
<Extension()>
Public Function GetPrecision (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Integer)

Paramètres

property
IReadOnlyProperty

Propriété.

storeObject
StoreObjectIdentifier

Identificateur de l’objet de magasin de type table contenant la colonne.

Retours

Précision, ou null si aucune n’est définie.

S’applique à

GetPrecision(IProperty, StoreObjectIdentifier)

Obtient la précision des données autorisées dans cette propriété. Par exemple, si la propriété est un Decimal , il s’agit du nombre maximal de chiffres.

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

Paramètres

property
IProperty

Propriété.

storeObject
StoreObjectIdentifier

Identificateur de l’objet de magasin de type table contenant la colonne.

Retours

Précision, ou null si aucune n’est définie.

S’applique à