C# Класс Argentini.Halide.H3Search

The Halide.H3Search class provides a way to generate search queries for searching SQL databases.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddAddFieldName ( string fieldName ) : void

Add a field name to consider in the search query.

AddSearchTerm ( string term ) : void

Add a search term.

GetQuery ( ) : string

Assemble the query fields and search terms into a SQL WHERE clause fragment.

H3Search ( bool ignoreNoiseWords ) : System

Constructor without any search terms specified.

H3Search ( string searchTerms, bool ignoreNoiseWords ) : System

Constructor accepts search terms delimitted by whitespace.

Описание методов

AddAddFieldName() публичный Метод

Add a field name to consider in the search query.
public AddAddFieldName ( string fieldName ) : void
fieldName string Field name to add to the query.
Результат void

AddSearchTerm() публичный Метод

Add a search term.
public AddSearchTerm ( string term ) : void
term string Search term to add to the query.
Результат void

GetQuery() публичный Метод

Assemble the query fields and search terms into a SQL WHERE clause fragment.
public GetQuery ( ) : string
Результат string

H3Search() публичный Метод

Constructor without any search terms specified.
public H3Search ( bool ignoreNoiseWords ) : System
ignoreNoiseWords bool Ignore common noise words like prepositions. Does not apply to quoted phrases.
Результат System

H3Search() публичный Метод

Constructor accepts search terms delimitted by whitespace.
public H3Search ( string searchTerms, bool ignoreNoiseWords ) : System
searchTerms string Search terms delimitted by whitespace.
ignoreNoiseWords bool Ignore common noise words like prepositions. Does not apply to quoted phrases.
Результат System