C# Class Argentini.Halide.H3Search

The Halide.H3Search class provides a way to generate search queries for searching SQL databases.
Afficher le fichier Open project: argentini/Halide Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AddAddFieldName() public méthode

Add a field name to consider in the search query.
public AddAddFieldName ( string fieldName ) : void
fieldName string Field name to add to the query.
Résultat void

AddSearchTerm() public méthode

Add a search term.
public AddSearchTerm ( string term ) : void
term string Search term to add to the query.
Résultat void

GetQuery() public méthode

Assemble the query fields and search terms into a SQL WHERE clause fragment.
public GetQuery ( ) : string
Résultat string

H3Search() public méthode

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.
Résultat System

H3Search() public méthode

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.
Résultat System