DbProviderManifest.EscapeLikeArgument Method (String)

.NET Framework (current version)
 

Provider writers should override this method to return the argument with the wildcards and the escape character escaped. This method is only used if SupportsEscapingLikeArgument returns true.

Namespace:   System.Data.Common
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public virtual string EscapeLikeArgument(
	string argument
)

Parameters

argument
Type: System.String

The argument to be escaped.

Return Value

Type: System.String

The argument with the wildcards and the escape character escaped.

.NET Framework
Available since 4.0
Return to top
Show: