SqlFunctions.Difference(String, String) メソッド

定義

2 つの文字式の SOUNDEX 値の差を示す整数値を返します。

public:
 static Nullable<int> Difference(System::String ^ string1, System::String ^ string2);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "DIFFERENCE")]
public static int? Difference(string string1, string string2);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "DIFFERENCE")>]
static member Difference : string * string -> Nullable<int>
Public Shared Function Difference (string1 As String, string2 As String) As Nullable(Of Integer)

パラメーター

string1
String

最初の文字列。

string2
String

2 番目の文字列。

返品

2 つの文字列の SOUNDEX の違い。

属性

注釈

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

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

適用対象