DecimalPropertyConfiguration.HasPrecision(Byte, Byte) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定此屬性的有效位數和小數位數。
public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration HasPrecision (byte precision, byte scale);
member this.HasPrecision : byte * byte -> System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration
Public Function HasPrecision (precision As Byte, scale As Byte) As DecimalPropertyConfiguration
參數
- precision
- Byte
此屬性的有效位數。
- scale
- Byte
此屬性的小數位數。
傳回
相同的 DecimalPropertyConfiguration 實例,以便鏈結多個呼叫。