SqlFunctions.Difference(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions.
[System.Data.Entity.DbFunction("SqlServer", "DIFFERENCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="string2")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId="string")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="string1")]
public static Nullable<int> Difference (string string1, string string2);
static member Difference : string * string -> Nullable<int>
Public Shared Function Difference (string1 As String, string2 As String) As Nullable(Of Integer)
Parameters
- string1
- String
The first string.
- string2
- String
The second string.
Returns
The SOUNDEX difference between the two strings.
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework