SqlFunctions.Difference Method (String, String)

 

Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "string2")]
[DbFunctionAttribute("SqlServer", "DIFFERENCE")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", 
	MessageId = "string")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "string1")]
public static Nullable<int> Difference(
	string string1,
	string string2
)

Parameters

string1
Type: System.String

The first string.

string2
Type: System.String

The second string.

Return Value

Type: System.Nullable<Int32>

The SOUNDEX difference between the two strings.