SqlDecimal Implicit Conversion (Int64 to SqlDecimal)

 
equivalentCodeEntityP:System.Data.SqlTypes.SqlDecimal.Value

Converts the supplied Int64 structure to SqlDecimal.

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

public static implicit operator SqlDecimal (
	long x
)

Parameters

x
Type: System.Int64

The Int64 structure to be converted.

Return Value

Type: System.Data.SqlTypes.SqlDecimal

A new SqlDecimal structure whose Value property equals the value of the Int64 parameter.

.NET Framework
Available since 2.0
Return to top
Show: