SqlHelpers Class

Definition

Provides helper methods for operations that match string patterns.

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

C#
public static class SqlHelpers
Inheritance
SqlHelpers

Methods

GetStringContainsPattern(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.

GetStringEndsWithPattern(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.

GetStringStartsWithPattern(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.

TranslateVBLikePattern(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.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1