SqlCeFunctions.StringConvert Method
Returns character data converted from numeric data.
Assembly: EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.dll)
Name | Description | |
---|---|---|
![]() ![]() | StringConvert(Nullable<Decimal>) | Returns character data converted from numeric data. |
![]() ![]() | StringConvert(Nullable<Decimal>, Nullable<Int32>) | Returns character data converted from numeric data. |
![]() ![]() | StringConvert(Nullable<Decimal>, Nullable<Int32>, Nullable<Int32>) | Returns character data converted from numeric data. |
![]() ![]() | StringConvert(Nullable<Double>) | Returns character data converted from numeric data. |
![]() ![]() | StringConvert(Nullable<Double>, Nullable<Int32>) | Returns character data converted from numeric data. |
![]() ![]() | StringConvert(Nullable<Double>, Nullable<Int32>, Nullable<Int32>) | Returns character data converted from numeric data. |
SqlCeFunctions.StringConvert Method (Nullable<Decimal>)
Returns character data converted from numeric data.
[DbFunctionAttribute("SqlServerCe", "STR")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "number")] public static string StringConvert( Nullable<decimal> number )
Parameters
- number
-
Type:
System.Nullable<Decimal>
A numeric expression.
SqlCeFunctions.StringConvert Method (Nullable<Decimal>, Nullable<Int32>)
Returns character data converted from numeric data.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "number")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "length")] [DbFunctionAttribute("SqlServerCe", "STR")] public static string StringConvert( Nullable<decimal> number, Nullable<int> length )
Parameters
- number
-
Type:
System.Nullable<Decimal>
A numeric expression.
- length
-
Type:
System.Nullable<Int32>
The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.
SqlCeFunctions.StringConvert Method (Nullable<Decimal>, Nullable<Int32>, Nullable<Int32>)
Returns character data converted from numeric data.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "decimalArg")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "number")] [DbFunctionAttribute("SqlServerCe", "STR")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "length")] public static string StringConvert( Nullable<decimal> number, Nullable<int> length, Nullable<int> decimalArg )
Parameters
- number
-
Type:
System.Nullable<Decimal>
A numeric expression.
- length
-
Type:
System.Nullable<Int32>
The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.
- decimalArg
-
Type:
System.Nullable<Int32>
The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point.
SqlCeFunctions.StringConvert Method (Nullable<Double>)
Returns character data converted from numeric data.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "number")] [DbFunctionAttribute("SqlServerCe", "STR")] public static string StringConvert( Nullable<double> number )
Parameters
- number
-
Type:
System.Nullable<Double>
A numeric expression.
SqlCeFunctions.StringConvert Method (Nullable<Double>, Nullable<Int32>)
Returns character data converted from numeric data.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "length")] [DbFunctionAttribute("SqlServerCe", "STR")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "number")] public static string StringConvert( Nullable<double> number, Nullable<int> length )
Parameters
- number
-
Type:
System.Nullable<Double>
A numeric expression.
- length
-
Type:
System.Nullable<Int32>
The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.
SqlCeFunctions.StringConvert Method (Nullable<Double>, Nullable<Int32>, Nullable<Int32>)
Returns character data converted from numeric data.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "length")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "decimalArg")] [DbFunctionAttribute("SqlServerCe", "STR")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "number")] public static string StringConvert( Nullable<double> number, Nullable<int> length, Nullable<int> decimalArg )
Parameters
- number
-
Type:
System.Nullable<Double>
A numeric expression.
- length
-
Type:
System.Nullable<Int32>
The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.
- decimalArg
-
Type:
System.Nullable<Int32>
The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point.