Redigera

Dela via


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.

public ref class SqlHelpers abstract sealed
public static class SqlHelpers
type SqlHelpers = class
Public 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