QueryBuilder (FSharp.Core)
A query operator that determines whether all elements selected so far satisfies a condition.
A query operator that determines whether all elements selected so far satisfies a condition.
-
predicate
:
'T -> bool
-
Returns:
bool
A query operator that selects a value for each element selected so far and returns the average of these values.
A query operator that selects a value for each element selected so far and returns the average of these values.
-
projection
:
'T -> ^Value
-
Returns:
^Value
A query operator that selects a nullable value for each element selected so far and returns the average of these values.
If any nullable does not have a value, it is ignored.
A query operator that selects a nullable value for each element selected so far and returns the average of these values. If any nullable does not have a value, it is ignored.
-
projection
:
'T -> Nullable<^Value>
-
Returns:
Nullable<^Value>
A query operator that determines whether the selected elements contains a specified element.
A query operator that determines whether the selected elements contains a specified element.
-
key
:
'T
-
Returns:
bool
A query operator that returns the number of selected elements.
A query operator that returns the number of selected elements.
-
Returns:
int
A query operator that selects distinct elements from the elements selected so far.
A query operator that selects distinct elements from the elements selected so far.
-
Returns:
QuerySource<'T, 'Q>
A query operator that selects the single, specific element selected so far
A query operator that selects the single, specific element selected so far
-
Returns:
'T
A query operator that selects the single, specific element of those selected so far, or a default value if that element is not found.
A query operator that selects the single, specific element of those selected so far, or a default value if that element is not found.
-
Returns:
'T
A query operator that determines whether any element selected so far satisfies a condition.
A query operator that determines whether any element selected so far satisfies a condition.
-
predicate
:
'T -> bool
-
Returns:
bool
A query operator that selects the first element selected so far that satisfies a specified condition.
A query operator that selects the first element selected so far that satisfies a specified condition.
-
predicate
:
'T -> bool
-
Returns:
'T
A method used to support the F# query syntax. Projects each element of a sequence to another sequence and combines the resulting sequences into one sequence.
A method used to support the F# query syntax. Projects each element of a sequence to another sequence and combines the resulting sequences into one sequence.
-
source
:
QuerySource<'T, 'Q> -
body
:
'T -> QuerySource<'Result, 'Q2>
-
Returns:
QuerySource<'Result, 'Q>
A query operator that groups the elements selected so far according to a specified key selector.
A query operator that groups the elements selected so far according to a specified key selector.
-
keySelector
:
'T -> 'Key
-
Returns:
QuerySource<IGrouping<'Key, 'T>, 'Q>
A query operator that correlates two sets of selected values based on matching keys and groups the results.
Normal usage is 'groupJoin y in elements2 on (key1 = key2) into group'.
A query operator that correlates two sets of selected values based on matching keys and groups the results. Normal usage is 'groupJoin y in elements2 on (key1 = key2) into group'.
-
innerSource
:
QuerySource<'Inner, 'Q> -
outerKeySelector
:
'Outer -> 'Key -
innerKeySelector
:
'Inner -> 'Key -
resultSelector
:
'Outer -> 'Inner seq -> 'Result
-
Returns:
QuerySource<'Result, 'Q>
A query operator that selects a value for each element selected so far and groups the elements by the given key.
A query operator that selects a value for each element selected so far and groups the elements by the given key.
-
resultSelector
:
'T -> 'Value -
keySelector
:
'T -> 'Key
-
Returns:
QuerySource<IGrouping<'Key, 'Value>, 'Q>
A query operator that selects the first element from those selected so far.
A query operator that selects the first element from those selected so far.
-
Returns:
'T
A query operator that selects the first element of those selected so far, or a default value if the sequence contains no elements.
A query operator that selects the first element of those selected so far, or a default value if the sequence contains no elements.
-
Returns:
'T
A query operator that correlates two sets of selected values based on matching keys.
Normal usage is 'join y in elements2 on (key1 = key2)'.
A query operator that correlates two sets of selected values based on matching keys. Normal usage is 'join y in elements2 on (key1 = key2)'.
-
innerSource
:
QuerySource<'Inner, 'Q> -
outerKeySelector
:
'Outer -> 'Key -
innerKeySelector
:
'Inner -> 'Key -
resultSelector
:
'Outer -> 'Inner -> 'Result
-
Returns:
QuerySource<'Result, 'Q>
A query operator that selects the last element of those selected so far.
A query operator that selects the last element of those selected so far.
-
Returns:
'T
A query operator that selects the last element of those selected so far, or a default value if no element is found.
A query operator that selects the last element of those selected so far, or a default value if no element is found.
-
Returns:
'T
A query operator that correlates two sets of selected values based on matching keys and groups the results.
If any group is empty, a group with a single default value is used instead.
Normal usage is 'leftOuterJoin y in elements2 on (key1 = key2) into group'.
A query operator that correlates two sets of selected values based on matching keys and groups the results. If any group is empty, a group with a single default value is used instead. Normal usage is 'leftOuterJoin y in elements2 on (key1 = key2) into group'.
-
innerSource
:
QuerySource<'Inner, 'Q> -
outerKeySelector
:
'Outer -> 'Key -
innerKeySelector
:
'Inner -> 'Key -
resultSelector
:
'Outer -> 'Inner seq -> 'Result
-
Returns:
QuerySource<'Result, 'Q>
A query operator that selects a value for each element selected so far and returns the maximum resulting value.
A query operator that selects a value for each element selected so far and returns the maximum resulting value.
-
valueSelector
:
'T -> 'Value
-
Returns:
'Value
A query operator that selects a nullable value for each element selected so far and returns the maximum of these values.
If any nullable does not have a value, it is ignored.
A query operator that selects a nullable value for each element selected so far and returns the maximum of these values. If any nullable does not have a value, it is ignored.
-
valueSelector
:
'T -> Nullable<'Value>
-
Returns:
Nullable<'Value>
A query operator that selects a value for each element selected so far and returns the minimum resulting value.
A query operator that selects a value for each element selected so far and returns the minimum resulting value.
-
valueSelector
:
'T -> 'Value
-
Returns:
'Value
A query operator that selects a nullable value for each element selected so far and returns the minimum of these values.
If any nullable does not have a value, it is ignored.
A query operator that selects a nullable value for each element selected so far and returns the minimum of these values. If any nullable does not have a value, it is ignored.
-
valueSelector
:
'T -> Nullable<'Value>
-
Returns:
Nullable<'Value>
A query operator that selects the element at a specified index amongst those selected so far.
A query operator that selects the element at a specified index amongst those selected so far.
-
index
:
int
-
Returns:
'T
A method used to support the F# query syntax. Indicates that the query should be passed as a quotation to the Run method.
A method used to support the F# query syntax. Indicates that the query should be passed as a quotation to the Run method.
-
arg0
:
Expr<'T>
-
Returns:
Expr<'T>
A method used to support the F# query syntax. Runs the given quotation as a query using LINQ IQueryable rules.
A method used to support the F# query syntax. Runs the given quotation as a query using LINQ IQueryable rules.
-
arg0
:
Expr<QuerySource<'T, IQueryable>>
-
Returns:
IQueryable<'T>
A query operator that projects each of the elements selected so far.
A query operator that projects each of the elements selected so far.
-
projection
:
'T -> 'Result
-
Returns:
QuerySource<'Result, 'Q>
A query operator that bypasses a specified number of the elements selected so far and selects the remaining elements.
A query operator that bypasses a specified number of the elements selected so far and selects the remaining elements.
-
count
:
int
-
Returns:
QuerySource<'T, 'Q>
A query operator that bypasses elements in a sequence as long as a specified condition is true and then selects the remaining elements.
A query operator that bypasses elements in a sequence as long as a specified condition is true and then selects the remaining elements.
-
predicate
:
'T -> bool
-
Returns:
QuerySource<'T, 'Q>
A query operator that sorts the elements selected so far in ascending order by the given sorting key.
A query operator that sorts the elements selected so far in ascending order by the given sorting key.
-
keySelector
:
'T -> 'Key
-
Returns:
QuerySource<'T, 'Q>
A query operator that sorts the elements selected so far in descending order by the given sorting key.
A query operator that sorts the elements selected so far in descending order by the given sorting key.
-
keySelector
:
'T -> 'Key
-
Returns:
QuerySource<'T, 'Q>
A query operator that sorts the elements selected so far in ascending order by the given nullable sorting key.
A query operator that sorts the elements selected so far in ascending order by the given nullable sorting key.
-
keySelector
:
'T -> Nullable<'Key>
-
Returns:
QuerySource<'T, 'Q>
A query operator that sorts the elements selected so far in descending order by the given nullable sorting key.
A query operator that sorts the elements selected so far in descending order by the given nullable sorting key.
-
keySelector
:
'T -> Nullable<'Key>
-
Returns:
QuerySource<'T, 'Q>
A method used to support the F# query syntax. Inputs to queries are implicitly wrapped by a call to one of the overloads of this method.
A method used to support the F# query syntax. Inputs to queries are implicitly wrapped by a call to one of the overloads of this method.
-
source
:
IEnumerable<'T>
-
Returns:
QuerySource<'T, IEnumerable>
A method used to support the F# query syntax. Inputs to queries are implicitly wrapped by a call to one of the overloads of this method.
A method used to support the F# query syntax. Inputs to queries are implicitly wrapped by a call to one of the overloads of this method.
-
source
:
IQueryable<'T>
-
Returns:
QuerySource<'T, 'Q>
A query operator that selects a value for each element selected so far and returns the sum of these values.
A query operator that selects a value for each element selected so far and returns the sum of these values.
-
projection
:
'T -> ^Value
-
Returns:
^Value
A query operator that selects a nullable value for each element selected so far and returns the sum of these values.
If any nullable does not have a value, it is ignored.
A query operator that selects a nullable value for each element selected so far and returns the sum of these values. If any nullable does not have a value, it is ignored.
-
valueSelector
:
'T -> Nullable<^Value>
-
Returns:
Nullable<^Value>
A query operator that selects a specified number of contiguous elements from those selected so far.
A query operator that selects a specified number of contiguous elements from those selected so far.
-
count
:
int
-
Returns:
QuerySource<'T, 'Q>
A query operator that selects elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
A query operator that selects elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
-
predicate
:
'T -> bool
-
Returns:
QuerySource<'T, 'Q>
A query operator that performs a subsequent ordering of the elements selected so far in ascending order by the given sorting key.
This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
A query operator that performs a subsequent ordering of the elements selected so far in ascending order by the given sorting key. This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
-
keySelector
:
'T -> 'Key
-
Returns:
QuerySource<'T, 'Q>
A query operator that performs a subsequent ordering of the elements selected so far in descending order by the given sorting key.
This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
A query operator that performs a subsequent ordering of the elements selected so far in descending order by the given sorting key. This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
-
keySelector
:
'T -> 'Key
-
Returns:
QuerySource<'T, 'Q>
A query operator that performs a subsequent ordering of the elements selected so far in ascending order by the given nullable sorting key.
This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
A query operator that performs a subsequent ordering of the elements selected so far in ascending order by the given nullable sorting key. This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
-
keySelector
:
'T -> Nullable<'Key>
-
Returns:
QuerySource<'T, 'Q>
A query operator that performs a subsequent ordering of the elements selected so far in descending order by the given nullable sorting key.
This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
A query operator that performs a subsequent ordering of the elements selected so far in descending order by the given nullable sorting key. This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
-
keySelector
:
'T -> Nullable<'Key>
-
Returns:
QuerySource<'T, 'Q>
A query operator that selects those elements based on a specified predicate.
A query operator that selects those elements based on a specified predicate.
-
predicate
:
'T -> bool
-
Returns:
QuerySource<'T, 'Q>
A method used to support the F# query syntax. Returns a sequence of length one that contains the specified value.
A method used to support the F# query syntax. Returns a sequence of length one that contains the specified value.
-
value
:
'T
-
Returns:
QuerySource<'T, 'Q>
A method used to support the F# query syntax. Returns a sequence that contains the specified values.
A method used to support the F# query syntax. Returns a sequence that contains the specified values.
-
computation
:
QuerySource<'T, 'Q>
-
Returns:
QuerySource<'T, 'Q>
A method used to support the F# query syntax. Returns an empty sequence that has the specified type argument.
A method used to support the F# query syntax. Returns an empty sequence that has the specified type argument.
-
Returns:
QuerySource<'T, 'Q>