Freigeben über


PropertyModel.Precision-Eigenschaft

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Ruft die Genauigkeit für dieses Eigenschaftenmodell ab oder legt sie fest. Gilt nur für Dezimaldatentypen.

Namespace:  System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public Overridable Property Precision As Nullable(Of Byte)
    Get 
    Set
'Usage
Dim instance As PropertyModel 
Dim value As Nullable(Of Byte)

value = instance.Precision

instance.Precision = value
public virtual Nullable<byte> Precision { get; set; }
public:
virtual property Nullable<unsigned char> Precision {
    Nullable<unsigned char> get ();
    void set (Nullable<unsigned char> value);
}
abstract Precision : Nullable<byte> with get, set 
override Precision : Nullable<byte> with get, set
function get Precision () : Nullable<byte>
function set Precision (value : Nullable<byte>)

Eigenschaftswert

Typ: System.Nullable<Byte>

Siehe auch

Verweis

PropertyModel Klasse

System.Data.Entity.Migrations.Model-Namespace