SqlFunctions.StringConvert メソッド

定義

数値データから変換された文字データを返します。

オーバーロード

名前 説明
StringConvert(Nullable<Decimal>)

数値データから変換された文字データを返します。

StringConvert(Nullable<Double>)

数値データから変換された文字データを返します。

StringConvert(Nullable<Decimal>, Nullable<Int32>)

数値データから変換された文字データを返します。

StringConvert(Nullable<Double>, Nullable<Int32>)

数値データから変換された文字データを返します。

StringConvert(Nullable<Decimal>, Nullable<Int32>, Nullable<Int32>)

数値データから変換された文字データを返します。

StringConvert(Nullable<Double>, Nullable<Int32>, Nullable<Int32>)

数値データから変換された文字データを返します。

注釈

この関数を直接呼び出すことはできません。 この関数は、LINQ to Entities クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。 対応するSQL Server関数の詳細については、「STR (Transact-SQL)を参照してください。

StringConvert(Nullable<Decimal>)

数値データから変換された文字データを返します。

public:
 static System::String ^ StringConvert(Nullable<System::Decimal> number);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")]
public static string StringConvert(decimal? number);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")>]
static member StringConvert : Nullable<decimal> -> string
Public Shared Function StringConvert (number As Nullable(Of Decimal)) As String

パラメーター

number
Nullable<Decimal>

数値式。

返品

文字列に変換された入力式。

属性

注釈

この関数を直接呼び出すことはできません。 この関数は、LINQ to Entities クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。 対応するSQL Server関数の詳細については、「STR (Transact-SQL)を参照してください。

適用対象

StringConvert(Nullable<Double>)

数値データから変換された文字データを返します。

public:
 static System::String ^ StringConvert(Nullable<double> number);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")]
public static string StringConvert(double? number);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")>]
static member StringConvert : Nullable<double> -> string
Public Shared Function StringConvert (number As Nullable(Of Double)) As String

パラメーター

number
Nullable<Double>

数値式。

返品

文字列に変換された数値入力式。

属性

注釈

この関数を直接呼び出すことはできません。 この関数は、LINQ to Entities クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。 対応するSQL Server関数の詳細については、「STR (Transact-SQL)を参照してください。

適用対象

StringConvert(Nullable<Decimal>, Nullable<Int32>)

数値データから変換された文字データを返します。

public:
 static System::String ^ StringConvert(Nullable<System::Decimal> number, Nullable<int> length);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")]
public static string StringConvert(decimal? number, int? length);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")>]
static member StringConvert : Nullable<decimal> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Decimal), length As Nullable(Of Integer)) As String

パラメーター

number
Nullable<Decimal>

数値式。

length
Nullable<Int32>

文字列の合計長。 これには、小数点、符号、数字、およびスペースが含まれます。 既定値は 10 です。

返品

文字列に変換された入力式。

属性

注釈

この関数を直接呼び出すことはできません。 この関数は、LINQ to Entities クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。 対応するSQL Server関数の詳細については、「STR (Transact-SQL)を参照してください。

適用対象

StringConvert(Nullable<Double>, Nullable<Int32>)

数値データから変換された文字データを返します。

public:
 static System::String ^ StringConvert(Nullable<double> number, Nullable<int> length);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")]
public static string StringConvert(double? number, int? length);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")>]
static member StringConvert : Nullable<double> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Double), length As Nullable(Of Integer)) As String

パラメーター

number
Nullable<Double>

数値式。

length
Nullable<Int32>

文字列の合計長。 これには、小数点、符号、数字、およびスペースが含まれます。 既定値は 10 です。

返品

文字列に変換された数値入力式。

属性

注釈

この関数を直接呼び出すことはできません。 この関数は、LINQ to Entities クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。 対応するSQL Server関数の詳細については、「STR (Transact-SQL)を参照してください。

適用対象

StringConvert(Nullable<Decimal>, Nullable<Int32>, Nullable<Int32>)

数値データから変換された文字データを返します。

public:
 static System::String ^ StringConvert(Nullable<System::Decimal> number, Nullable<int> length, Nullable<int> decimalArg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")]
public static string StringConvert(decimal? number, int? length, int? decimalArg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")>]
static member StringConvert : Nullable<decimal> * Nullable<int> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Decimal), length As Nullable(Of Integer), decimalArg As Nullable(Of Integer)) As String

パラメーター

number
Nullable<Decimal>

数値式。

length
Nullable<Int32>

文字列の合計長。 これには、小数点、符号、数字、およびスペースが含まれます。 既定値は 10 です。

decimalArg
Nullable<Int32>

小数点の右側の桁数。 decimalArg は 16 以下である必要があります。 decimalArgが 16 を超える場合、結果は小数点の右側の 16 桁に切り捨てられます。

返品

文字列に変換された入力式。

属性

注釈

この関数を直接呼び出すことはできません。 この関数は、LINQ to Entities クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。 対応するSQL Server関数の詳細については、「STR (Transact-SQL)を参照してください。

適用対象

StringConvert(Nullable<Double>, Nullable<Int32>, Nullable<Int32>)

数値データから変換された文字データを返します。

public:
 static System::String ^ StringConvert(Nullable<double> number, Nullable<int> length, Nullable<int> decimalArg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")]
public static string StringConvert(double? number, int? length, int? decimalArg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "STR")>]
static member StringConvert : Nullable<double> * Nullable<int> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Double), length As Nullable(Of Integer), decimalArg As Nullable(Of Integer)) As String

パラメーター

number
Nullable<Double>

数値式。

length
Nullable<Int32>

文字列の合計長。 これには、小数点、符号、数字、およびスペースが含まれます。 既定値は 10 です。

decimalArg
Nullable<Int32>

小数点の右側の桁数。 decimalArg は 16 以下である必要があります。 decimalArgが 16 を超える場合、結果は小数点の右側の 16 桁に切り捨てられます。

返品

文字列に変換された数値入力式。

属性

注釈

この関数を直接呼び出すことはできません。 この関数は、LINQ to Entities クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。 対応するSQL Server関数の詳細については、「STR (Transact-SQL)を参照してください。

適用対象