SqlMethods.Like Method
Determines whether a specific character string matches a specified pattern. This method is currently only supported in LINQ to SQL queries.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Like(String, String) | Determines whether a specific character string matches a specified pattern. This method is currently only supported in LINQ to SQL queries. |
|
Like(String, String, Char) | Determines whether a specific character string matches a specified pattern. This method is currently only supported in LINQ to SQL queries. |
The SQL Server LIKE functionality cannot be exposed through translation of existing common language runtime (CLR) and .NET Framework constructs, and is unsupported outside of a LINQ to SQL context. The use of this method outside of LINQ to SQL will always throw an exception of type NotSupportedException.