Precision Property

OracleParameter.Precision Property

 
Note: This API is now obsolete.

Gets or sets the maximum number of digits used to represent the Value property.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

[ObsoleteAttribute("Precision has been deprecated.  Use the Math classes to explicitly set the precision of a decimal.  http://go.microsoft.com/fwlink/?linkid=14202")]
[BrowsableAttribute(false)]
public byte Precision { get; set; }

Property Value

Type: System.Byte

The maximum number of digits used to represent the Value property. The default value is 0, which indicates that the data provider sets the precision for Value.

Setting the Precision or Scale properties has no effect.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft