Builds Linq expressions
public class Korzh.EasyQuery.Linq.LinqQueryBuilder
: IQueryBuilder
Package: Korzh.EasyQuery.Linq
(targets: netstandard2.0
)
Assembly: Korzh.EasyQuery.Linq.dll
Constructors
Name | Type | Description |
---|---|---|
LinqQueryBuilder(Query query) | void |
This constructor overload allows only Build generic method to be used in building queries because no context is specified and required for it |
LinqQueryBuilder(object context, Query query) |
void |
This constructor overload allows only Build generic method to be used in building queries because no context is specified and required for it |
Properties
Name | Type | Description |
---|---|---|
CanBuild | bool |
Determines whether there is enough information to build the query |
Options | QueryBuilderOptions | Gets or sets the builder's options. |
Query | Query | Gets the query this builder is defined for |
Result | LinqStatement | Gets the result object |
SelectDistinct | bool |
Gets or sets a value indicating whether the result set must not contain duplicates. |
Skip | int |
Gets or sets the number of items that will be skipped from result set. |
StatementType | Type |
Type of result set |
Take | int |
Gets or sets the number of items that will be taken from result set. |
Methods
Name | Type | Description |
---|---|---|
Build() | bool |
Builds the query. |
Build() | BuilderResult <T > |
Builds the query. |
BuildIEnumerable(object context) |
IEnumerable |
Builds IEnumerable expression for use in Linq2Objects scenarios, in other cases consider using Build() method for building IQueryable expression |
ToString() | string |
Returns a System.String that represents this instance. |