SqlHelpers Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Provides helper methods for operations that match string patterns.
Inheritance Hierarchy
System.Object
System.Data.Linq.SqlClient.SqlHelpers
Namespace: System.Data.Linq.SqlClient
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Syntax
'Declaration
Public NotInheritable Class SqlHelpers
public static class SqlHelpers
The SqlHelpers type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetStringContainsPattern | Infrastructure. Creates a search pattern string where the specified text can have other text before and following it. | |
GetStringEndsWithPattern | Infrastructure. Creates a search pattern string where the specified text can have other text before it but not following it. | |
GetStringStartsWithPattern | Infrastructure. Creates a search pattern string where the specified text can have other text after it but not before it. | |
TranslateVBLikePattern | Infrastructure. Translates a search pattern for the Visual Basic Like operator to a search pattern for the SQL Server LIKE operator. |
Top
Version Information
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.