PropertyBuilder<TProperty>.HasPrecision Yöntem

Tanım

Aşırı Yüklemeler

HasPrecision(Int32, Int32)

Özelliğin hassasiyetini ve ölçeğini yapılandırır.

HasPrecision(Int32)

Özelliğinin duyarlığını yapılandırır.

HasPrecision(Int32, Int32)

Özelliğin hassasiyetini ve ölçeğini yapılandırır.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> HasPrecision (int precision, int scale);
override this.HasPrecision : int * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
Public Overridable Function HasPrecision (precision As Integer, scale As Integer) As PropertyBuilder(Of TProperty)

Parametreler

precision
Int32

Özelliğin duyarlığı.

scale
Int32

Özelliğin ölçeği.

Döndürülenler

PropertyBuilder<TProperty>

Birden çok yapılandırma çağrısının zincirlenebilir olması için aynı Oluşturucu örneği.

Şunlara uygulanır

HasPrecision(Int32)

Özelliğinin duyarlığını yapılandırır.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> HasPrecision (int precision);
override this.HasPrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
Public Overridable Function HasPrecision (precision As Integer) As PropertyBuilder(Of TProperty)

Parametreler

precision
Int32

Özelliğin duyarlığı.

Döndürülenler

PropertyBuilder<TProperty>

Birden çok yapılandırma çağrısının zincirlenebilir olması için aynı Oluşturucu örneği.

Şunlara uygulanır