SqlHelpers Class

SqlHelpers Class

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Provides helper methods for operations that match string patterns.

Namespace:   System.Data.Linq.SqlClient
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

System.Object
  System.Data.Linq.SqlClient.SqlHelpers

public static class SqlHelpers

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetStringContainsPattern(String, Char)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a search pattern string where the specified text can have other text before and following it.

System_CAPS_pubmethodSystem_CAPS_staticGetStringEndsWithPattern(String, Char)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a search pattern string where the specified text can have other text before it but not following it.

System_CAPS_pubmethodSystem_CAPS_staticGetStringStartsWithPattern(String, Char)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a search pattern string where the specified text can have other text after it but not before it.

System_CAPS_pubmethodSystem_CAPS_staticTranslateVBLikePattern(String, Char)

This API supports the product infrastructure and is not intended to be used directly from your code. Translates a search pattern for the Visual Basic Like operator to a search pattern for the SQL Server LIKE operator.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft