Skip to content

DbModelFullTextSearchExtensions class

Exposes the extension methods which allow to create a full-text search query (or SQL statement) over the entities of a Korzh.EasyQuery.Db.DbModel.

public static class Korzh.EasyQuery.Db.DbModelFullTextSearchExtensions

Package: Korzh.EasyQuery.Db (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.Db.dll

NameTypeDescription
BuildFullTextSearchSql(this DbModel model, string text, DbFullTextSearchOptions options = null, bool useParams = False)SqlStatementBuilds an SQL statement which represents a full-text search over the model’s entities. This is a shortcut for Korzh.EasyQuery.Db.DbModelFullTextSearchExtensions.CreateFullTextSearchQuery(Korzh.EasyQuery.Db.DbModel,System.String,Korzh.EasyQuery.DbFullTextSearchOptions) + Korzh.EasyQuery.Db.SqlQueryBuilder.
CreateFullTextSearchQuery(this DbModel model, string text, DbFullTextSearchOptions options = null)DbQueryCreates a query which represents a full-text search over the model’s entities. The result query includes all “used in result” attributes of the processed entities as its columns and a group of “Contains” conditions (linked with OR) for all text attributes of those entities. The “ parameter may contain several search terms separated by "