forked from zzzprojects/System.Linq.Dynamic.Core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.json
More file actions
142 lines (142 loc) · 129 KB
/
index.json
File metadata and controls
142 lines (142 loc) · 129 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.html": {
"href": "api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.html",
"title": "Interface IDynamicLinkCustomTypeProvider",
"keywords": "Interface IDynamicLinkCustomTypeProvider Interface for providing functionality to find custom types for or resolve any type. Namespace : System.Linq.Dynamic.Core.CustomTypeProviders Assembly : System.Linq.Dynamic.Core.dll Syntax public interface IDynamicLinkCustomTypeProvider Methods | Improve this Doc View Source GetCustomTypes() Returns a list of custom types that System.Linq.Dynamic.Core will understand. Declaration HashSet<Type> GetCustomTypes() Returns Type Description HashSet < Type > A HashSet<T> list of custom types. | Improve this Doc View Source ResolveType(String) Resolve any type by fullname which is registered in the current application domain. Declaration Type ResolveType([NotNull] string typeName) Parameters Type Name Description String typeName The typename to resolve. Returns Type Description Type A resolved Type or null when not found. | Improve this Doc View Source ResolveTypeBySimpleName(String) Resolve any type by the simple name which is registered in the current application domain. Declaration Type ResolveTypeBySimpleName([NotNull] string simpleTypeName) Parameters Type Name Description String simpleTypeName The typename to resolve. Returns Type Description Type A resolved Type or null when not found."
},
"api/System.Linq.Dynamic.Core.IAssemblyHelper.html": {
"href": "api/System.Linq.Dynamic.Core.IAssemblyHelper.html",
"title": "Interface IAssemblyHelper",
"keywords": "Interface IAssemblyHelper IAssemblyHelper interface which is used to retrieve assemblies that have been loaded into the execution context of this application domain. Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public interface IAssemblyHelper Methods | Improve this Doc View Source GetAssemblies() Gets the assemblies that have been loaded into the execution context of this application domain. Declaration Assembly[] GetAssemblies() Returns Type Description Assembly [] An array of assemblies in this application domain."
},
"api/System.Linq.Dynamic.Core.Exceptions.html": {
"href": "api/System.Linq.Dynamic.Core.Exceptions.html",
"title": "Namespace System.Linq.Dynamic.Core.Exceptions",
"keywords": "Namespace System.Linq.Dynamic.Core.Exceptions Classes ParseException Represents errors that occur while parsing dynamic linq string expressions."
},
"api/System.Linq.Dynamic.Core.DynamicQueryableExtensions.html": {
"href": "api/System.Linq.Dynamic.Core.DynamicQueryableExtensions.html",
"title": "Class DynamicQueryableExtensions",
"keywords": "Class DynamicQueryableExtensions Provides a set of static (Shared in Visual Basic) methods for querying data structures that implement IQueryable . It allows dynamic string based querying. Very handy when, at compile time, you don't know the type of queries that will be generated, or when downstream components only return column names to sort and filter by. Inheritance Object DynamicQueryableExtensions Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public static class DynamicQueryableExtensions Methods | Improve this Doc View Source Aggregate(IQueryable, String, String) Dynamically runs an aggregate function on the IQueryable. Declaration public static object Aggregate([NotNull] this IQueryable source, [NotNull] string function, [NotNull] string member) Parameters Type Name Description IQueryable source The IQueryable data source. String function The name of the function to run. Can be Sum, Average, Min or Max. String member The name of the property to aggregate over. Returns Type Description Object The value of the aggregate function run over the specified property. | Improve this Doc View Source All(IQueryable, ParsingConfig, String, Object[]) Determines whether all the elements of a sequence satisfy a condition. Declaration [PublicAPI] public static bool All([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source An IQueryable to calculate the All of. ParsingConfig config The ParsingConfig . String predicate A projection function to apply to each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Boolean true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. Remarks Multiple active operations on the same context instance are not supported. Use 'await' to ensure that All asynchronous operations have completed before calling another method on this context. | Improve this Doc View Source All(IQueryable, String, Object[]) Determines whether all the elements of a sequence satisfy a condition. Declaration [PublicAPI] public static bool All([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source An IQueryable to calculate the All of. String predicate A projection function to apply to each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Boolean true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. Remarks Multiple active operations on the same context instance are not supported. Use 'await' to ensure that All asynchronous operations have completed before calling another method on this context. | Improve this Doc View Source Any(IQueryable) Determines whether a sequence contains any elements. Declaration public static bool Any([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source A sequence to check for being empty. Returns Type Description Boolean true if the source sequence contains any elements; otherwise, false. Examples IQueryable queryable = employees.AsQueryable(); var result = queryable.Any(); | Improve this Doc View Source Any(IQueryable, ParsingConfig, String, Object[]) Determines whether a sequence contains any elements. Declaration [PublicAPI] public static bool Any([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source A sequence to check for being empty. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Boolean true if the source sequence contains any elements; otherwise, false. Examples IQueryable queryable = employees.AsQueryable(); var result1 = queryable.Any(\"Income > 50\"); var result2 = queryable.Any(\"Income > @0\", 50); var result3 = queryable.Select(\"Roles.Any()\"); | Improve this Doc View Source Any(IQueryable, LambdaExpression) Determines whether a sequence contains any elements. Declaration public static bool Any([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source A sequence to check for being empty. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Boolean true if the source sequence contains any elements; otherwise, false. | Improve this Doc View Source Any(IQueryable, String, Object[]) Declaration public static bool Any([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Boolean | Improve this Doc View Source AsEnumerable(IQueryable) Returns the input typed as IEnumerable<T> of Object ./> Declaration public static IEnumerable<object> AsEnumerable([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The sequence to type as IEnumerable<T> of Object . Returns Type Description IEnumerable < Object > The input typed as IEnumerable<T> of Object . | Improve this Doc View Source Average(IQueryable) Computes the average of a sequence of numeric values. Declaration [PublicAPI] public static double Average([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source A sequence of numeric values to calculate the average of. Returns Type Description Double The average of the values in the sequence. Examples IQueryable queryable = employees.AsQueryable(); var result1 = queryable.Average(); var result2 = queryable.Select(\"Roles.Average()\"); | Improve this Doc View Source Average(IQueryable, ParsingConfig, String, Object[]) Computes the average of a sequence of numeric values. Declaration [PublicAPI] public static double Average([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source A sequence of numeric values to calculate the average of. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Double The average of the values in the sequence. Examples IQueryable queryable = employees.AsQueryable(); var result = queryable.Average(\"Income\"); | Improve this Doc View Source Average(IQueryable, LambdaExpression) Computes the average of a sequence of numeric values. Declaration [PublicAPI] public static double Average([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source A sequence of numeric values to calculate the average of. LambdaExpression lambda A Lambda Expression. Returns Type Description Double The average of the values in the sequence. | Improve this Doc View Source Average(IQueryable, String, Object[]) Declaration [PublicAPI] public static double Average([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Double | Improve this Doc View Source Cast(IQueryable, ParsingConfig, String) Converts the elements of an IQueryable to the specified type. Declaration public static IQueryable Cast([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string typeName) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be converted. ParsingConfig config The ParsingConfig . String typeName The type to convert the elements of source to. Returns Type Description IQueryable An IQueryable that contains each element of the source sequence converted to the specified type. | Improve this Doc View Source Cast(IQueryable, String) Converts the elements of an IQueryable to the specified type. Declaration public static IQueryable Cast([NotNull] this IQueryable source, [NotNull] string typeName) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be converted. String typeName The type to convert the elements of source to. Returns Type Description IQueryable An IQueryable that contains each element of the source sequence converted to the specified type. | Improve this Doc View Source Cast(IQueryable, Type) Converts the elements of an IQueryable to the specified type. Declaration public static IQueryable Cast([NotNull] this IQueryable source, [NotNull] Type type) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be converted. Type type The type to convert the elements of source to. Returns Type Description IQueryable An IQueryable that contains each element of the source sequence converted to the specified type. | Improve this Doc View Source Count(IQueryable) Returns the number of elements in a sequence. Declaration public static int Count([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be counted. Returns Type Description Int32 The number of elements in the input sequence. Examples IQueryable queryable = employees.AsQueryable(); var result = queryable.Count(); | Improve this Doc View Source Count(IQueryable, ParsingConfig, String, Object[]) Returns the number of elements in a sequence. Declaration [PublicAPI] public static int Count([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be counted. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Int32 The number of elements in the specified sequence that satisfies a condition. Examples IQueryable queryable = employees.AsQueryable(); var result1 = queryable.Count(\"Income > 50\"); var result2 = queryable.Count(\"Income > @0\", 50); var result3 = queryable.Select(\"Roles.Count()\"); | Improve this Doc View Source Count(IQueryable, LambdaExpression) Returns the number of elements in a sequence. Declaration public static int Count([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be counted. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Int32 The number of elements in the specified sequence that satisfies a condition. | Improve this Doc View Source Count(IQueryable, String, Object[]) Declaration public static int Count([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Int32 | Improve this Doc View Source DefaultIfEmpty(IQueryable) Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. Declaration public static IQueryable DefaultIfEmpty([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The IQueryable to return a default value for if empty. Returns Type Description IQueryable An IQueryable that contains default if source is empty; otherwise, source. Examples IQueryable queryable = employees.DefaultIfEmpty(); | Improve this Doc View Source DefaultIfEmpty(IQueryable, Object) Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. Declaration public static IQueryable DefaultIfEmpty([NotNull] this IQueryable source, [CanBeNull] object defaultValue) Parameters Type Name Description IQueryable source The IQueryable to return a default value for if empty. Object defaultValue The value to return if the sequence is empty. Returns Type Description IQueryable An IQueryable that contains defaultValue if source is empty; otherwise, source. Examples IQueryable queryable = employees.DefaultIfEmpty(new Employee()); | Improve this Doc View Source Distinct(IQueryable) Returns distinct elements from a sequence by using the default equality comparer to compare values. Declaration public static IQueryable Distinct([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The sequence to remove duplicate elements from. Returns Type Description IQueryable An IQueryable that contains distinct elements from the source sequence. Examples IQueryable queryable = employees.AsQueryable(); var result1 = queryable.Distinct(); var result2 = queryable.Select(\"Roles.Distinct()\"); | Improve this Doc View Source First(IQueryable) Returns the first element of a sequence. Declaration public static object First([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The IQueryable to return the first element of. Returns Type Description Object The first element in source. | Improve this Doc View Source First(IQueryable, ParsingConfig, String, Object[]) Returns the first element of a sequence that satisfies a specified condition. Declaration [PublicAPI] public static object First([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source The IQueryable to return the first element of. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source First(IQueryable, LambdaExpression) Returns the first element of a sequence that satisfies a specified condition. Declaration public static object First([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source The IQueryable to return the first element of. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source First(IQueryable, String, Object[]) Declaration public static object First([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Object | Improve this Doc View Source FirstOrDefault(IQueryable) Returns the first element of a sequence, or a default value if the sequence contains no elements. Declaration public static object FirstOrDefault([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The IQueryable to return the first element of. Returns Type Description Object default if source is empty; otherwise, the first element in source. | Improve this Doc View Source FirstOrDefault(IQueryable, ParsingConfig, String, Object[]) Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. Declaration [PublicAPI] public static object FirstOrDefault([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source The IQueryable to return the first element of. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Object default if source is empty or if no element passes the test specified by predicate; otherwise, the first element in source that passes the test specified by predicate. | Improve this Doc View Source FirstOrDefault(IQueryable, LambdaExpression) Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. Declaration public static object FirstOrDefault([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source The IQueryable to return the first element of. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Object default if source is empty or if no element passes the test specified by predicate; otherwise, the first element in source that passes the test specified by predicate. | Improve this Doc View Source FirstOrDefault(IQueryable, String, Object[]) Declaration public static object FirstOrDefault([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Object | Improve this Doc View Source GroupBy(IQueryable, ParsingConfig, String, Object[]) Groups the elements of a sequence according to a specified key string function and creates a result value from each group and its key. Declaration [PublicAPI] public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string keySelector, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source A IQueryable whose elements to group. ParsingConfig config The ParsingConfig . String keySelector A string expression to specify the key for each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. Examples var groupResult1 = queryable.GroupBy(\"NumberPropertyAsKey\"); var groupResult2 = queryable.GroupBy(\"new (NumberPropertyAsKey, StringPropertyAsKey)\"); | Improve this Doc View Source GroupBy(IQueryable, ParsingConfig, String, String) Groups the elements of a sequence according to a specified key string function and creates a result value from each group and its key. Declaration public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string keySelector, [NotNull] string resultSelector) Parameters Type Name Description IQueryable source A IQueryable whose elements to group. ParsingConfig config The ParsingConfig . String keySelector A string expression to specify the key for each element. String resultSelector A string expression to specify a result value from each group. Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. Examples var groupResult1 = queryable.GroupBy(\"NumberPropertyAsKey\", \"StringProperty\"); var groupResult2 = queryable.GroupBy(\"new (NumberPropertyAsKey, StringPropertyAsKey)\", \"new (StringProperty1, StringProperty2)\"); | Improve this Doc View Source GroupBy(IQueryable, ParsingConfig, String, String, Object[]) Groups the elements of a sequence according to a specified key string function and creates a result value from each group and its key. Declaration [PublicAPI] public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string keySelector, [NotNull] string resultSelector, object[] args) Parameters Type Name Description IQueryable source A IQueryable whose elements to group. ParsingConfig config The ParsingConfig . String keySelector A string expression to specify the key for each element. String resultSelector A string expression to specify a result value from each group. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. Examples var groupResult1 = queryable.GroupBy(\"NumberPropertyAsKey\", \"StringProperty\"); var groupResult2 = queryable.GroupBy(\"new (NumberPropertyAsKey, StringPropertyAsKey)\", \"new (StringProperty1, StringProperty2)\"); | Improve this Doc View Source GroupBy(IQueryable, String, Object[]) Declaration [PublicAPI] public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] string keySelector, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source String keySelector Object [] args Returns Type Description IQueryable | Improve this Doc View Source GroupBy(IQueryable, String, String) Declaration public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] string keySelector, [NotNull] string resultSelector) Parameters Type Name Description IQueryable source String keySelector String resultSelector Returns Type Description IQueryable | Improve this Doc View Source GroupBy(IQueryable, String, String, Object[]) Declaration [PublicAPI] public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] string keySelector, [NotNull] string resultSelector, object[] args) Parameters Type Name Description IQueryable source String keySelector String resultSelector Object [] args Returns Type Description IQueryable | Improve this Doc View Source GroupByMany<TElement>(IEnumerable<TElement>, Func<TElement, Object>[]) Groups the elements of a sequence according to multiple specified key functions and creates a result value from each group (and subgroups) and its key. Declaration public static IEnumerable<GroupResult> GroupByMany<TElement>([NotNull] this IEnumerable<TElement> source, params Func<TElement, object>[] keySelectors) Parameters Type Name Description IEnumerable <TElement> source A IEnumerable<T> whose elements to group. Func <TElement, Object >[] keySelectors Lambda expressions to specify the keys for each element. Returns Type Description IEnumerable < GroupResult > A IEnumerable<T> of type GroupResult where each element represents a projection over a group, its key, and its subgroups. Type Parameters Name Description TElement | Improve this Doc View Source GroupByMany<TElement>(IEnumerable<TElement>, ParsingConfig, String[]) Groups the elements of a sequence according to multiple specified key string functions and creates a result value from each group (and subgroups) and its key. Declaration public static IEnumerable<GroupResult> GroupByMany<TElement>([NotNull] this IEnumerable<TElement> source, [NotNull] ParsingConfig config, params string[] keySelectors) Parameters Type Name Description IEnumerable <TElement> source A IEnumerable<T> whose elements to group. ParsingConfig config The ParsingConfig . String [] keySelectors String expressions to specify the keys for each element. Returns Type Description IEnumerable < GroupResult > A IEnumerable<T> of type GroupResult where each element represents a projection over a group, its key, and its subgroups. Type Parameters Name Description TElement | Improve this Doc View Source GroupByMany<TElement>(IEnumerable<TElement>, String[]) Declaration public static IEnumerable<GroupResult> GroupByMany<TElement>([NotNull] this IEnumerable<TElement> source, params string[] keySelectors) Parameters Type Name Description IEnumerable <TElement> source String [] keySelectors Returns Type Description IEnumerable < GroupResult > Type Parameters Name Description TElement | Improve this Doc View Source GroupJoin(IQueryable, IEnumerable, String, String, String, Object[]) Declaration public static IQueryable GroupJoin([NotNull] this IQueryable outer, [NotNull] IEnumerable inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, [NotNull] string resultSelector, params object[] args) Parameters Type Name Description IQueryable outer IEnumerable inner String outerKeySelector String innerKeySelector String resultSelector Object [] args Returns Type Description IQueryable | Improve this Doc View Source GroupJoin(IQueryable, ParsingConfig, IEnumerable, String, String, String, Object[]) Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. Declaration public static IQueryable GroupJoin([NotNull] this IQueryable outer, [NotNull] ParsingConfig config, [NotNull] IEnumerable inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, [NotNull] string resultSelector, params object[] args) Parameters Type Name Description IQueryable outer The first sequence to join. ParsingConfig config The ParsingConfig . IEnumerable inner The sequence to join to the first sequence. String outerKeySelector A dynamic function to extract the join key from each element of the first sequence. String innerKeySelector A dynamic function to extract the join key from each element of the second sequence. String resultSelector A dynamic function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. Object [] args An object array that contains zero or more objects to insert into the predicates as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable obtained by performing a grouped join on two sequences. | Improve this Doc View Source Join(IQueryable, IEnumerable, String, String, String, Object[]) Declaration public static IQueryable Join([NotNull] this IQueryable outer, [NotNull] IEnumerable inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, [NotNull] string resultSelector, params object[] args) Parameters Type Name Description IQueryable outer IEnumerable inner String outerKeySelector String innerKeySelector String resultSelector Object [] args Returns Type Description IQueryable | Improve this Doc View Source Join(IQueryable, ParsingConfig, IEnumerable, String, String, String, Object[]) Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. Declaration public static IQueryable Join([NotNull] this IQueryable outer, [NotNull] ParsingConfig config, [NotNull] IEnumerable inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, [NotNull] string resultSelector, params object[] args) Parameters Type Name Description IQueryable outer The first sequence to join. ParsingConfig config The ParsingConfig . IEnumerable inner The sequence to join to the first sequence. String outerKeySelector A dynamic function to extract the join key from each element of the first sequence. String innerKeySelector A dynamic function to extract the join key from each element of the second sequence. String resultSelector A dynamic function to create a result element from two matching elements. Object [] args An object array that contains zero or more objects to insert into the predicates as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable obtained by performing an inner join on two sequences. | Improve this Doc View Source Join<TElement>(IQueryable<TElement>, IEnumerable<TElement>, String, String, String, Object[]) Declaration public static IQueryable<TElement> Join<TElement>([NotNull] this IQueryable<TElement> outer, [NotNull] IEnumerable<TElement> inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, string resultSelector, params object[] args) Parameters Type Name Description IQueryable <TElement> outer IEnumerable <TElement> inner String outerKeySelector String innerKeySelector String resultSelector Object [] args Returns Type Description IQueryable <TElement> Type Parameters Name Description TElement | Improve this Doc View Source Join<TElement>(IQueryable<TElement>, ParsingConfig, IEnumerable<TElement>, String, String, String, Object[]) Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. Declaration public static IQueryable<TElement> Join<TElement>([NotNull] this IQueryable<TElement> outer, [NotNull] ParsingConfig config, [NotNull] IEnumerable<TElement> inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, string resultSelector, params object[] args) Parameters Type Name Description IQueryable <TElement> outer The first sequence to join. ParsingConfig config The ParsingConfig . IEnumerable <TElement> inner The sequence to join to the first sequence. String outerKeySelector A dynamic function to extract the join key from each element of the first sequence. String innerKeySelector A dynamic function to extract the join key from each element of the second sequence. String resultSelector A dynamic function to create a result element from two matching elements. Object [] args An object array that contains zero or more objects to insert into the predicates as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable <TElement> An IQueryable<T> that has elements of type TResult obtained by performing an inner join on two sequences. Type Parameters Name Description TElement The type of the elements of both sequences, and the result. Remarks This overload only works on elements where both sequences and the resulting element match. | Improve this Doc View Source Last(IQueryable) Returns the last element of a sequence. Declaration public static object Last([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. Returns Type Description Object The last element in source. | Improve this Doc View Source Last(IQueryable, ParsingConfig, String, Object[]) Returns the last element of a sequence that satisfies a specified condition. Declaration public static object Last([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source Last(IQueryable, LambdaExpression) Returns the last element of a sequence that satisfies a specified condition. Declaration public static object Last([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source Last(IQueryable, String, Object[]) Declaration public static object Last([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Object | Improve this Doc View Source LastOrDefault(IQueryable) Returns the last element of a sequence, or a default value if the sequence contains no elements. Declaration public static object LastOrDefault([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. Returns Type Description Object default if source is empty; otherwise, the last element in source. | Improve this Doc View Source LastOrDefault(IQueryable, ParsingConfig, String, Object[]) Returns the last element of a sequence that satisfies a specified condition, or a default value if the sequence contains no elements. Declaration public static object LastOrDefault([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source LastOrDefault(IQueryable, LambdaExpression) Returns the last element of a sequence that satisfies a specified condition, or a default value if the sequence contains no elements. Declaration public static object LastOrDefault([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source LastOrDefault(IQueryable, String, Object[]) Declaration public static object LastOrDefault([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Object | Improve this Doc View Source LongCount(IQueryable) Returns the number of elements in a sequence. Declaration public static long LongCount([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be counted. Returns Type Description Int64 The number of elements in the input sequence. Examples IQueryable queryable = employees.AsQueryable(); var result = queryable.LongCount(); | Improve this Doc View Source LongCount(IQueryable, ParsingConfig, String, Object[]) Returns the number of elements in a sequence. Declaration [PublicAPI] public static long LongCount([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be counted. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Int64 The number of elements in the specified sequence that satisfies a condition. Examples IQueryable queryable = employees.AsQueryable(); var result1 = queryable.LongCount(\"Income > 50\"); var result2 = queryable.LongCount(\"Income > @0\", 50); var result3 = queryable.Select(\"Roles.LongCount()\"); | Improve this Doc View Source LongCount(IQueryable, LambdaExpression) Returns the number of elements in a sequence. Declaration public static long LongCount([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source The IQueryable that contains the elements to be counted. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Int64 The number of elements in the specified sequence that satisfies a condition. | Improve this Doc View Source LongCount(IQueryable, String, Object[]) Declaration public static long LongCount([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Int64 | Improve this Doc View Source OfType(IQueryable, ParsingConfig, String) Filters the elements of an IQueryable based on a specified type. Declaration public static IQueryable OfType([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string typeName) Parameters Type Name Description IQueryable source An IQueryable whose elements to filter. ParsingConfig config The ParsingConfig . String typeName The type to filter the elements of the sequence on. Returns Type Description IQueryable A collection that contains the elements from source that have the type. | Improve this Doc View Source OfType(IQueryable, String) Filters the elements of an IQueryable based on a specified type. Declaration public static IQueryable OfType([NotNull] this IQueryable source, [NotNull] string typeName) Parameters Type Name Description IQueryable source An IQueryable whose elements to filter. String typeName The type to filter the elements of the sequence on. Returns Type Description IQueryable A collection that contains the elements from source that have the type. | Improve this Doc View Source OfType(IQueryable, Type) Filters the elements of an IQueryable based on a specified type. Declaration public static IQueryable OfType([NotNull] this IQueryable source, [NotNull] Type type) Parameters Type Name Description IQueryable source An IQueryable whose elements to filter. Type type The type to filter the elements of the sequence on. Returns Type Description IQueryable A collection that contains the elements from source that have the type. | Improve this Doc View Source OrderBy(IQueryable, ParsingConfig, String, Object[]) Sorts the elements of a sequence in ascending or descending order according to a key. Declaration public static IOrderedQueryable OrderBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string ordering, params object[] args) Parameters Type Name Description IQueryable source A sequence of values to order. ParsingConfig config The ParsingConfig . String ordering An expression string to indicate values to order by. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IOrderedQueryable A IQueryable whose elements are sorted according to the specified ordering . Examples var resultSingle = queryable.OrderBy(\"NumberProperty\"); var resultSingleDescending = queryable.OrderBy(\"NumberProperty DESC\"); var resultMultiple = queryable.OrderBy(\"NumberProperty, StringProperty DESC\"); | Improve this Doc View Source OrderBy(IQueryable, String, Object[]) Declaration public static IOrderedQueryable OrderBy([NotNull] this IQueryable source, [NotNull] string ordering, params object[] args) Parameters Type Name Description IQueryable source String ordering Object [] args Returns Type Description IOrderedQueryable | Improve this Doc View Source OrderBy<TSource>(IQueryable<TSource>, ParsingConfig, String, Object[]) Sorts the elements of a sequence in ascending or descending order according to a key. Declaration public static IOrderedQueryable<TSource> OrderBy<TSource>([NotNull] this IQueryable<TSource> source, [NotNull] ParsingConfig config, [NotNull] string ordering, params object[] args) Parameters Type Name Description IQueryable <TSource> source A sequence of values to order. ParsingConfig config The ParsingConfig . String ordering An expression string to indicate values to order by. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IOrderedQueryable <TSource> A IQueryable<T> whose elements are sorted according to the specified ordering . Type Parameters Name Description TSource The type of the elements of source. Examples var resultSingle = queryable.OrderBy<User>(\"NumberProperty\"); var resultSingleDescending = queryable.OrderBy<User>(\"NumberProperty DESC\"); var resultMultiple = queryable.OrderBy<User>(\"NumberProperty, StringProperty\"); | Improve this Doc View Source OrderBy<TSource>(IQueryable<TSource>, String, Object[]) Declaration public static IOrderedQueryable<TSource> OrderBy<TSource>([NotNull] this IQueryable<TSource> source, [NotNull] string ordering, params object[] args) Parameters Type Name Description IQueryable <TSource> source String ordering Object [] args Returns Type Description IOrderedQueryable <TSource> Type Parameters Name Description TSource | Improve this Doc View Source Page(IQueryable, Int32, Int32) Returns the elements as paged. Declaration public static IQueryable Page([NotNull] this IQueryable source, int page, int pageSize) Parameters Type Name Description IQueryable source The IQueryable to return elements from. Int32 page The page to return. Int32 pageSize The number of elements per page. Returns Type Description IQueryable A IQueryable that contains the paged elements. | Improve this Doc View Source Page<TSource>(IQueryable<TSource>, Int32, Int32) Returns the elements as paged. Declaration public static IQueryable<TSource> Page<TSource>([NotNull] this IQueryable<TSource> source, int page, int pageSize) Parameters Type Name Description IQueryable <TSource> source The IQueryable to return elements from. Int32 page The page to return. Int32 pageSize The number of elements per page. Returns Type Description IQueryable <TSource> A IQueryable<T> that contains the paged elements. Type Parameters Name Description TSource The type of the source. | Improve this Doc View Source PageResult(IQueryable, Int32, Int32) Returns the elements as paged and include the CurrentPage, PageCount, PageSize and RowCount. Declaration public static PagedResult PageResult([NotNull] this IQueryable source, int page, int pageSize) Parameters Type Name Description IQueryable source The IQueryable to return elements from. Int32 page The page to return. Int32 pageSize The number of elements per page. Returns Type Description PagedResult PagedResult | Improve this Doc View Source PageResult<TSource>(IQueryable<TSource>, Int32, Int32) Returns the elements as paged and include the CurrentPage, PageCount, PageSize and RowCount. Declaration public static PagedResult<TSource> PageResult<TSource>([NotNull] this IQueryable<TSource> source, int page, int pageSize) Parameters Type Name Description IQueryable <TSource> source The IQueryable to return elements from. Int32 page The page to return. Int32 pageSize The number of elements per page. Returns Type Description PagedResult <TSource> PagedResult{TSource} Type Parameters Name Description TSource The type of the source. | Improve this Doc View Source Reverse(IQueryable) Inverts the order of the elements in a sequence. Declaration public static IQueryable Reverse([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source A sequence of values to reverse. Returns Type Description IQueryable A IQueryable whose elements correspond to those of the input sequence in reverse order. | Improve this Doc View Source Select(IQueryable, ParsingConfig, String, Object[]) Projects each element of a sequence into a new form. Declaration public static IQueryable Select([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source A sequence of values to project. ParsingConfig config The ParsingConfig . String selector A projection string expression to apply to each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable whose elements are the result of invoking a projection string on each element of source. Examples var singleField = queryable.Select(\"StringProperty\"); var dynamicObject = queryable.Select(\"new (StringProperty1, StringProperty2 as OtherStringPropertyName)\"); | Improve this Doc View Source Select(IQueryable, ParsingConfig, Type, String, Object[]) Projects each element of a sequence into a new class of type TResult. Details see http://solutionizing.net/category/linq/ Declaration public static IQueryable Select([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] Type resultType, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source A sequence of values to project. ParsingConfig config The ParsingConfig . Type resultType The result type. String selector A projection string expression to apply to each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Returns Type Description IQueryable An IQueryable whose elements are the result of invoking a projection string on each element of source. Examples var users = queryable.Select(typeof(User), \"new (Username, Pwd as Password)\"); | Improve this Doc View Source Select(IQueryable, String, Object[]) Declaration public static IQueryable Select([NotNull] this IQueryable source, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source String selector Object [] args Returns Type Description IQueryable | Improve this Doc View Source Select(IQueryable, Type, String, Object[]) Declaration public static IQueryable Select([NotNull] this IQueryable source, [NotNull] Type resultType, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source Type resultType String selector Object [] args Returns Type Description IQueryable | Improve this Doc View Source Select<TResult>(IQueryable, ParsingConfig, String, Object[]) Projects each element of a sequence into a new class of type TResult. Details see http://solutionizing.net/category/linq/ . Declaration public static IQueryable<TResult> Select<TResult>([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source A sequence of values to project. ParsingConfig config The ParsingConfig . String selector A projection string expression to apply to each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Returns Type Description IQueryable <TResult> An IQueryable<T> whose elements are the result of invoking a projection string on each element of source. Type Parameters Name Description TResult The type of the result. Examples var users = queryable.Select<User>(\"new (Username, Pwd as Password)\"); | Improve this Doc View Source Select<TResult>(IQueryable, String, Object[]) Declaration public static IQueryable<TResult> Select<TResult>([NotNull] this IQueryable source, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source String selector Object [] args Returns Type Description IQueryable <TResult> Type Parameters Name Description TResult | Improve this Doc View Source SelectMany(IQueryable, ParsingConfig, String, Object[]) Projects each element of a sequence to an IQueryable and combines the resulting sequences into one sequence. Declaration public static IQueryable SelectMany([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source A sequence of values to project. ParsingConfig config The ParsingConfig . String selector A projection string expression to apply to each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. Examples var roles = users.SelectMany(\"Roles\"); | Improve this Doc View Source SelectMany(IQueryable, ParsingConfig, String, String, Object[], Object[]) Projects each element of a sequence to an IQueryable and invokes a result selector function on each element therein. The resulting values from each intermediate sequence are combined into a single, one-dimensional sequence and returned. Declaration public static IQueryable SelectMany([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string collectionSelector, [NotNull] string resultSelector, [CanBeNull] object[] collectionSelectorArgs = null, [CanBeNull] params object[] resultSelectorArgs) Parameters Type Name Description IQueryable source A sequence of values to project. ParsingConfig config The ParsingConfig . String collectionSelector A projection function to apply to each element of the input sequence. String resultSelector A projection function to apply to each element of each intermediate sequence. Should only use x and y as parameter names. Object [] collectionSelectorArgs An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Object [] resultSelectorArgs An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable whose elements are the result of invoking the one-to-many projection function collectionSelector on each element of source and then mapping each of those sequence elements and their corresponding source element to a result element. Examples // TODO | Improve this Doc View Source SelectMany(IQueryable, ParsingConfig, String, String, String, String, Object[], Object[]) Projects each element of a sequence to an IQueryable and invokes a result selector function on each element therein. The resulting values from each intermediate sequence are combined into a single, one-dimensional sequence and returned. Declaration public static IQueryable SelectMany([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string collectionSelector, [NotNull] string resultSelector, [NotNull] string collectionParameterName, [NotNull] string resultParameterName, [CanBeNull] object[] collectionSelectorArgs = null, [CanBeNull] params object[] resultSelectorArgs) Parameters Type Name Description IQueryable source A sequence of values to project. ParsingConfig config The ParsingConfig . String collectionSelector A projection function to apply to each element of the input sequence. String resultSelector A projection function to apply to each element of each intermediate sequence. String collectionParameterName The name from collectionParameter to use. Default is x. String resultParameterName The name from resultParameterName to use. Default is y. Object [] collectionSelectorArgs An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Object [] resultSelectorArgs An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable whose elements are the result of invoking the one-to-many projection function collectionSelector on each element of source and then mapping each of those sequence elements and their corresponding source element to a result element. Examples // TODO | Improve this Doc View Source SelectMany(IQueryable, ParsingConfig, Type, String, Object[]) Projects each element of a sequence to an IQueryable and combines the resulting sequences into one sequence. Declaration public static IQueryable SelectMany([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] Type resultType, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source A sequence of values to project. ParsingConfig config The ParsingConfig . Type resultType The result type. String selector A projection string expression to apply to each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. Examples var permissions = users.SelectMany(typeof(Permission), \"Roles.SelectMany(Permissions)\"); | Improve this Doc View Source SelectMany(IQueryable, String, Object[]) Declaration public static IQueryable SelectMany([NotNull] this IQueryable source, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source String selector Object [] args Returns Type Description IQueryable | Improve this Doc View Source SelectMany(IQueryable, String, String, Object[], Object[]) Declaration public static IQueryable SelectMany([NotNull] this IQueryable source, [NotNull] string collectionSelector, [NotNull] string resultSelector, [CanBeNull] object[] collectionSelectorArgs = null, [CanBeNull] params object[] resultSelectorArgs) Parameters Type Name Description IQueryable source String collectionSelector String resultSelector Object [] collectionSelectorArgs Object [] resultSelectorArgs Returns Type Description IQueryable | Improve this Doc View Source SelectMany(IQueryable, String, String, String, String, Object[], Object[]) Declaration public static IQueryable SelectMany([NotNull] this IQueryable source, [NotNull] string collectionSelector, [NotNull] string resultSelector, [NotNull] string collectionParameterName, [NotNull] string resultParameterName, [CanBeNull] object[] collectionSelectorArgs = null, [CanBeNull] params object[] resultSelectorArgs) Parameters Type Name Description IQueryable source String collectionSelector String resultSelector String collectionParameterName String resultParameterName Object [] collectionSelectorArgs Object [] resultSelectorArgs Returns Type Description IQueryable | Improve this Doc View Source SelectMany(IQueryable, Type, String, Object[]) Declaration public static IQueryable SelectMany([NotNull] this IQueryable source, [NotNull] Type resultType, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source Type resultType String selector Object [] args Returns Type Description IQueryable | Improve this Doc View Source SelectMany<TResult>(IQueryable, ParsingConfig, String, Object[]) Projects each element of a sequence to an IQueryable<T> and combines the resulting sequences into one sequence. Declaration public static IQueryable<TResult> SelectMany<TResult>([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source A sequence of values to project. ParsingConfig config The ParsingConfig . String selector A projection string expression to apply to each element. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable <TResult> An IQueryable<T> whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. Type Parameters Name Description TResult The type of the result. Examples var permissions = users.SelectMany<Permission>(\"Roles.SelectMany(Permissions)\"); | Improve this Doc View Source SelectMany<TResult>(IQueryable, String, Object[]) Declaration public static IQueryable<TResult> SelectMany<TResult>([NotNull] this IQueryable source, [NotNull] string selector, params object[] args) Parameters Type Name Description IQueryable source String selector Object [] args Returns Type Description IQueryable <TResult> Type Parameters Name Description TResult | Improve this Doc View Source Single(IQueryable) Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. Declaration public static object Single([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source A IQueryable to return the single element of. Returns Type Description Object The single element of the input sequence. | Improve this Doc View Source Single(IQueryable, ParsingConfig, String, Object[]) Returns the only element of a sequence that satisfies a specified condition, and throws an exception if there is not exactly one element in the sequence. Declaration public static object Single([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source Single(IQueryable, LambdaExpression) Returns the only element of a sequence that satisfies a specified condition, and throws an exception if there is not exactly one element in the sequence. Declaration public static object Single([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source Single(IQueryable, String, Object[]) Declaration public static object Single([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Object | Improve this Doc View Source SingleOrDefault(IQueryable) Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. Declaration public static object SingleOrDefault([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source A IQueryable to return the single element of. Returns Type Description Object The single element of the input sequence, or default if the sequence contains no elements. | Improve this Doc View Source SingleOrDefault(IQueryable, ParsingConfig, String, Object[]) Returns the only element of a sequence that satisfies a specified condition or a default value if the sequence is empty; and throws an exception if there is not exactly one element in the sequence. Declaration public static object SingleOrDefault([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source SingleOrDefault(IQueryable, LambdaExpression) Returns the only element of a sequence that satisfies a specified condition or a default value if the sequence is empty; and throws an exception if there is not exactly one element in the sequence. Declaration public static object SingleOrDefault([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source The IQueryable to return the last element of. LambdaExpression lambda A cached Lambda Expression. Returns Type Description Object The first element in source that passes the test in predicate. | Improve this Doc View Source SingleOrDefault(IQueryable, String, Object[]) Declaration public static object SingleOrDefault([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Object | Improve this Doc View Source Skip(IQueryable, Int32) Bypasses a specified number of elements in a sequence and then returns the remaining elements. Declaration public static IQueryable Skip([NotNull] this IQueryable source, int count) Parameters Type Name Description IQueryable source A IQueryable to return elements from. Int32 count The number of elements to skip before returning the remaining elements. Returns Type Description IQueryable A IQueryable that contains elements that occur after the specified index in the input sequence. | Improve this Doc View Source SkipWhile(IQueryable, ParsingConfig, String, Object[]) Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. Declaration public static IQueryable SkipWhile([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source A sequence to check for being empty. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable that contains elements from source starting at the first element in the linear series that does not pass the test specified by predicate. Examples IQueryable queryable = employees.AsQueryable(); var result1 = queryable.SkipWhile(\"Income > 50\"); var result2 = queryable.SkipWhile(\"Income > @0\", 50); | Improve this Doc View Source SkipWhile(IQueryable, String, Object[]) Declaration public static IQueryable SkipWhile([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description IQueryable | Improve this Doc View Source Sum(IQueryable) Computes the sum of a sequence of numeric values. Declaration [PublicAPI] public static object Sum([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source A sequence of numeric values to calculate the sum of. Returns Type Description Object The sum of the values in the sequence. Examples IQueryable queryable = employees.AsQueryable(); var result1 = queryable.Sum(); var result2 = queryable.Select(\"Roles.Sum()\"); | Improve this Doc View Source Sum(IQueryable, ParsingConfig, String, Object[]) Computes the sum of a sequence of numeric values. Declaration [PublicAPI] public static object Sum([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source A sequence of numeric values to calculate the sum of. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description Object The sum of the values in the sequence. Examples IQueryable queryable = employees.AsQueryable(); var result = queryable.Sum(\"Income\"); | Improve this Doc View Source Sum(IQueryable, LambdaExpression) Computes the sum of a sequence of numeric values. Declaration [PublicAPI] public static object Sum([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source A sequence of numeric values to calculate the sum of. LambdaExpression lambda A Lambda Expression. Returns Type Description Object The sum of the values in the sequence. | Improve this Doc View Source Sum(IQueryable, String, Object[]) Declaration [PublicAPI] public static object Sum([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Object | Improve this Doc View Source Take(IQueryable, Int32) Returns a specified number of contiguous elements from the start of a sequence. Declaration public static IQueryable Take([NotNull] this IQueryable source, int count) Parameters Type Name Description IQueryable source The sequence to return elements from. Int32 count The number of elements to return. Returns Type Description IQueryable A IQueryable that contains the specified number of elements from the start of source. | Improve this Doc View Source TakeWhile(IQueryable, ParsingConfig, String, Object[]) Returns elements from a sequence as long as a specified condition is true. Declaration public static IQueryable TakeWhile([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source A sequence to check for being empty. ParsingConfig config The ParsingConfig . String predicate A function to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable An IQueryable that contains elements from the input sequence occurring before the element at which the test specified by predicate no longer passes. Examples IQueryable queryable = employees.AsQueryable(); var result1 = queryable.TakeWhile(\"Income > 50\"); var result2 = queryable.TakeWhile(\"Income > @0\", 50); | Improve this Doc View Source TakeWhile(IQueryable, String, Object[]) Declaration public static IQueryable TakeWhile([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description IQueryable | Improve this Doc View Source ThenBy(IOrderedQueryable, ParsingConfig, String, Object[]) Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. Declaration public static IOrderedQueryable ThenBy([NotNull] this IOrderedQueryable source, [NotNull] ParsingConfig config, [NotNull] string ordering, params object[] args) Parameters Type Name Description IOrderedQueryable source A sequence of values to order. ParsingConfig config The ParsingConfig . String ordering An expression string to indicate values to order by. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IOrderedQueryable A IQueryable whose elements are sorted according to the specified ordering . Examples var result = queryable.OrderBy(\"LastName\"); var resultSingle = result.OrderBy(\"NumberProperty\"); var resultSingleDescending = result.OrderBy(\"NumberProperty DESC\"); var resultMultiple = result.OrderBy(\"NumberProperty, StringProperty DESC\"); | Improve this Doc View Source ThenBy(IOrderedQueryable, String, Object[]) Declaration public static IOrderedQueryable ThenBy([NotNull] this IOrderedQueryable source, [NotNull] string ordering, params object[] args) Parameters Type Name Description IOrderedQueryable source String ordering Object [] args Returns Type Description IOrderedQueryable | Improve this Doc View Source ThenBy<TSource>(IOrderedQueryable<TSource>, ParsingConfig, String, Object[]) Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. Declaration public static IOrderedQueryable<TSource> ThenBy<TSource>([NotNull] this IOrderedQueryable<TSource> source, [NotNull] ParsingConfig config, [NotNull] string ordering, params object[] args) Parameters Type Name Description IOrderedQueryable <TSource> source A sequence of values to order. ParsingConfig config The ParsingConfig . String ordering An expression string to indicate values to order by. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IOrderedQueryable <TSource> A IOrderedQueryable<T> whose elements are sorted according to the specified ordering . Type Parameters Name Description TSource The type of the elements of source. Examples var result = queryable.OrderBy<User>(\"LastName\"); var resultSingle = result.ThenBy<User>(\"NumberProperty\"); var resultSingleDescending = result.ThenBy<User>(\"NumberProperty DESC\"); var resultMultiple = result.ThenBy<User>(\"NumberProperty, StringProperty\"); | Improve this Doc View Source ThenBy<TSource>(IOrderedQueryable<TSource>, String, Object[]) Declaration public static IOrderedQueryable<TSource> ThenBy<TSource>([NotNull] this IOrderedQueryable<TSource> source, [NotNull] string ordering, params object[] args) Parameters Type Name Description IOrderedQueryable <TSource> source String ordering Object [] args Returns Type Description IOrderedQueryable <TSource> Type Parameters Name Description TSource | Improve this Doc View Source Where(IQueryable, ParsingConfig, String, Object[]) Filters a sequence of values based on a predicate. Declaration public static IQueryable Where([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source A IQueryable to filter. ParsingConfig config The ParsingConfig . String predicate An expression string to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable A IQueryable that contains elements from the input sequence that satisfy the condition specified by predicate. Examples var result1 = queryable.Where(\"NumberProperty = 1\"); var result2 = queryable.Where(\"NumberProperty = @0\", 1); var result3 = queryable.Where(\"StringProperty = null\"); var result4 = queryable.Where(\"StringProperty = \\\"abc\\\"\"); var result5 = queryable.Where(\"StringProperty = @0\", \"abc\"); | Improve this Doc View Source Where(IQueryable, LambdaExpression) Filters a sequence of values based on a predicate. Declaration public static IQueryable Where([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda) Parameters Type Name Description IQueryable source A IQueryable to filter. LambdaExpression lambda A cached Lambda Expression. Returns Type Description IQueryable A IQueryable that contains elements from the input sequence that satisfy the condition specified by LambdaExpression. | Improve this Doc View Source Where(IQueryable, String, Object[]) Declaration public static IQueryable Where([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description IQueryable | Improve this Doc View Source Where<TSource>(IQueryable<TSource>, ParsingConfig, String, Object[]) Filters a sequence of values based on a predicate. Declaration public static IQueryable<TSource> Where<TSource>([NotNull] this IQueryable<TSource> source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable <TSource> source A IQueryable<T> to filter. ParsingConfig config The ParsingConfig . String predicate An expression string to test each element for a condition. Object [] args An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. Returns Type Description IQueryable <TSource> A IQueryable<T> that contains elements from the input sequence that satisfy the condition specified by predicate. Type Parameters Name Description TSource The type of the elements of source. Examples var result1 = queryable.Where(\"NumberProperty = 1\"); var result2 = queryable.Where(\"NumberProperty = @0\", 1); var result3 = queryable.Where(\"StringProperty = null\"); var result4 = queryable.Where(\"StringProperty = \\\"abc\\\"\"); var result5 = queryable.Where(\"StringProperty = @0\", \"abc\"); | Improve this Doc View Source Where<TSource>(IQueryable<TSource>, String, Object[]) Declaration public static IQueryable<TSource> Where<TSource>([NotNull] this IQueryable<TSource> source, [NotNull] string predicate, params object[] args) Parameters Type Name Description IQueryable <TSource> source String predicate Object [] args Returns Type Description IQueryable <TSource> Type Parameters Name Description TSource"
},
"api/System.Linq.Dynamic.Core.DynamicExpressionParser.html": {
"href": "api/System.Linq.Dynamic.Core.DynamicExpressionParser.html",
"title": "Class DynamicExpressionParser",
"keywords": "Class DynamicExpressionParser Helper class to convert an expression into an LambdaExpression Inheritance Object DynamicExpressionParser Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public static class DynamicExpressionParser Methods | Improve this Doc View Source ParseLambda(Boolean, ParameterExpression[], Type, String, Object[]) Parses an expression into a LambdaExpression. Declaration [PublicAPI] public static LambdaExpression ParseLambda(bool createParameterCtor, [NotNull] ParameterExpression[] parameters, [CanBeNull] Type resultType, [NotNull] string expression, params object[] values) Parameters Type Name Description Boolean createParameterCtor if set to true then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities. ParameterExpression [] parameters A array from ParameterExpressions. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(Boolean, Type, Type, String, Object[]) Parses an expression into a LambdaExpression. Declaration [PublicAPI] public static LambdaExpression ParseLambda(bool createParameterCtor, [NotNull] Type itType, [CanBeNull] Type resultType, string expression, params object[] values) Parameters Type Name Description Boolean createParameterCtor if set to true then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities. Type itType The main type from the dynamic class expression. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(ParsingConfig, Boolean, ParameterExpression[], Type, String, Object[]) Parses an expression into a LambdaExpression. Declaration [PublicAPI] public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] ParameterExpression[] parameters, [CanBeNull] Type resultType, [NotNull] string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. Boolean createParameterCtor if set to true then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities. ParameterExpression [] parameters A array from ParameterExpressions. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(ParsingConfig, Boolean, Type, String, Object[]) Parses an expression into a LambdaExpression. Declaration [PublicAPI] public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [CanBeNull] Type resultType, [NotNull] string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. Boolean createParameterCtor if set to true then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(ParsingConfig, Boolean, Type, Type, String, Object[]) Parses an expression into a LambdaExpression. Declaration [PublicAPI] public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] Type itType, [CanBeNull] Type resultType, string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. Boolean createParameterCtor if set to true then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities. Type itType The main type from the dynamic class expression. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(ParsingConfig, ParameterExpression[], Type, String, Object[]) Parses an expression into a LambdaExpression. (Also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.) Declaration [PublicAPI] public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, [NotNull] ParameterExpression[] parameters, [CanBeNull] Type resultType, string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. ParameterExpression [] parameters A array from ParameterExpressions. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(ParsingConfig, Type, String, Object[]) Parses an expression into a LambdaExpression. (Also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.) Declaration [PublicAPI] public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, [CanBeNull] Type resultType, [NotNull] string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(ParsingConfig, Type, Type, String, Object[]) Parses an expression into a LambdaExpression. (Also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.) Declaration [PublicAPI] public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, [NotNull] Type itType, [CanBeNull] Type resultType, string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. Type itType The main type from the dynamic class expression. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(ParameterExpression[], Type, String, Object[]) Parses an expression into a LambdaExpression. (Also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.) Declaration [PublicAPI] public static LambdaExpression ParseLambda([NotNull] ParameterExpression[] parameters, [CanBeNull] Type resultType, string expression, params object[] values) Parameters Type Name Description ParameterExpression [] parameters A array from ParameterExpressions. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(Type, String, Object[]) Parses an expression into a LambdaExpression. (Also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.) Declaration [PublicAPI] public static LambdaExpression ParseLambda([CanBeNull] Type resultType, [NotNull] string expression, params object[] values) Parameters Type Name Description Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda(Type, Type, String, Object[]) Parses an expression into a LambdaExpression. (Also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.) Declaration [PublicAPI] public static LambdaExpression ParseLambda([NotNull] Type itType, [CanBeNull] Type resultType, string expression, params object[] values) Parameters Type Name Description Type itType The main type from the dynamic class expression. Type resultType Type of the result. If not specified, it will be generated dynamically. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description LambdaExpression The generated LambdaExpression | Improve this Doc View Source ParseLambda<TResult>(ParsingConfig, Boolean, ParameterExpression[], String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression<Func<TResult>> ParseLambda<TResult>([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] ParameterExpression[] parameters, [NotNull] string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. Boolean createParameterCtor if set to true then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities. ParameterExpression [] parameters A array from ParameterExpressions. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description Expression < Func <TResult>> The generated Expression Type Parameters Name Description TResult The type of the result. | Improve this Doc View Source ParseLambda<TResult>(ParsingConfig, Boolean, String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression<Func<TResult>> ParseLambda<TResult>([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. Boolean createParameterCtor if set to true then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description Expression < Func <TResult>> The generated Expression Type Parameters Name Description TResult The type of the result. | Improve this Doc View Source ParseLambda<T, TResult>(ParsingConfig, Boolean, String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression<Func<T, TResult>> ParseLambda<T, TResult>([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] string expression, params object[] values) Parameters Type Name Description ParsingConfig parsingConfig The Configuration for the parsing. Boolean createParameterCtor if set to true then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities. String expression The expression. Object [] values An object array that contains zero or more objects which are used as replacement values. Returns Type Description Expression < Func <T, TResult>> The generated Expression Type Parameters Name Description T The it -Type. TResult The type of the result."
},
"api/System.Linq.Dynamic.Core.DynamicClass.html": {
"href": "api/System.Linq.Dynamic.Core.DynamicClass.html",
"title": "Class DynamicClass",
"keywords": "Class DynamicClass Provides a base class for dynamic objects for Net 3.5 Inheritance Object DynamicClass Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public abstract class DynamicClass Methods | Improve this Doc View Source GetDynamicPropertyValue(String) Gets the dynamic property value by name. Declaration public object GetDynamicPropertyValue(string propertyName) Parameters Type Name Description String propertyName Name of the property. Returns Type Description Object value | Improve this Doc View Source GetDynamicPropertyValue<T>(String) Gets the dynamic property by name. Declaration public T GetDynamicPropertyValue<T>(string propertyName) Parameters Type Name Description String propertyName Name of the property. Returns Type Description T T Type Parameters Name Description T The type. | Improve this Doc View Source SetDynamicPropertyValue(String, Object) Sets the dynamic property value by name. Declaration public void SetDynamicPropertyValue(string propertyName, object value) Parameters Type Name Description String propertyName Name of the property. Object value The value. | Improve this Doc View Source SetDynamicPropertyValue<T>(String, T) Sets the dynamic property value by name. Declaration public void SetDynamicPropertyValue<T>(string propertyName, T value) Parameters Type Name Description String propertyName Name of the property. T value The value. Type Parameters Name Description T The type."
},
"api/System.Linq.Dynamic.Core.CustomTypeProviders.html": {
"href": "api/System.Linq.Dynamic.Core.CustomTypeProviders.html",
"title": "Namespace System.Linq.Dynamic.Core.CustomTypeProviders",
"keywords": "Namespace System.Linq.Dynamic.Core.CustomTypeProviders Classes AbstractDynamicLinqCustomTypeProvider The abstract DynamicLinqCustomTypeProvider which is used by the DefaultDynamicLinqCustomTypeProvider and can be used by a custom TypeProvider like in .NET Core. DefaultDynamicLinqCustomTypeProvider The default implementation for IDynamicLinkCustomTypeProvider . Scans the current AppDomain for all types marked with DynamicLinqTypeAttribute , and adds them as custom Dynamic Link types. Also provides functionality to resolve a Type in the current Application Domain. This class is used as default for full .NET Framework, so not for .NET Core DynamicLinqTypeAttribute Indicates to Dynamic Linq to consider the Type as a valid dynamic linq type. Interfaces IDynamicLinkCustomTypeProvider Interface for providing functionality to find custom types for or resolve any type."
},
"api/System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html": {
"href": "api/System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html",
"title": "Class DefaultDynamicLinqCustomTypeProvider",
"keywords": "Class DefaultDynamicLinqCustomTypeProvider The default implementation for IDynamicLinkCustomTypeProvider . Scans the current AppDomain for all types marked with DynamicLinqTypeAttribute , and adds them as custom Dynamic Link types. Also provides functionality to resolve a Type in the current Application Domain. This class is used as default for full .NET Framework, so not for .NET Core Inheritance Object AbstractDynamicLinqCustomTypeProvider DefaultDynamicLinqCustomTypeProvider Implements IDynamicLinkCustomTypeProvider Inherited Members AbstractDynamicLinqCustomTypeProvider.FindTypesMarkedWithDynamicLinqTypeAttribute(IEnumerable<Assembly>) AbstractDynamicLinqCustomTypeProvider.ResolveType(IEnumerable<Assembly>, String) AbstractDynamicLinqCustomTypeProvider.ResolveTypeBySimpleName(IEnumerable<Assembly>, String) AbstractDynamicLinqCustomTypeProvider.GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable<Assembly>) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core.CustomTypeProviders Assembly : System.Linq.Dynamic.Core.dll Syntax public class DefaultDynamicLinqCustomTypeProvider : AbstractDynamicLinqCustomTypeProvider, IDynamicLinkCustomTypeProvider Constructors | Improve this Doc View Source DefaultDynamicLinqCustomTypeProvider(Boolean) Initializes a new instance of the DefaultDynamicLinqCustomTypeProvider class. Declaration public DefaultDynamicLinqCustomTypeProvider(bool cacheCustomTypes = true) Parameters Type Name Description Boolean cacheCustomTypes Defines whether to cache the CustomTypes which are found in the Application Domain. Default set to 'true'. Methods | Improve this Doc View Source GetCustomTypes() Declaration public virtual HashSet<Type> GetCustomTypes() Returns Type Description HashSet < Type > | Improve this Doc View Source ResolveType(String) Declaration public Type ResolveType(string typeName) Parameters Type Name Description String typeName Returns Type Description Type | Improve this Doc View Source ResolveTypeBySimpleName(String) Declaration public Type ResolveTypeBySimpleName(string simpleTypeName) Parameters Type Name Description String simpleTypeName Returns Type Description Type Implements IDynamicLinkCustomTypeProvider"
},
"api/System.Linq.Dynamic.Core.CustomTypeProviders.DynamicLinqTypeAttribute.html": {
"href": "api/System.Linq.Dynamic.Core.CustomTypeProviders.DynamicLinqTypeAttribute.html",
"title": "Class DynamicLinqTypeAttribute",
"keywords": "Class DynamicLinqTypeAttribute Indicates to Dynamic Linq to consider the Type as a valid dynamic linq type. Inheritance Object Attribute DynamicLinqTypeAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core.CustomTypeProviders Assembly : System.Linq.Dynamic.Core.dll Syntax [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)] public sealed class DynamicLinqTypeAttribute : Attribute, _Attribute Implements System.Runtime.InteropServices._Attribute"
},
"api/System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider.html": {
"href": "api/System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider.html",
"title": "Class AbstractDynamicLinqCustomTypeProvider",
"keywords": "Class AbstractDynamicLinqCustomTypeProvider The abstract DynamicLinqCustomTypeProvider which is used by the DefaultDynamicLinqCustomTypeProvider and can be used by a custom TypeProvider like in .NET Core. Inheritance Object AbstractDynamicLinqCustomTypeProvider DefaultDynamicLinqCustomTypeProvider Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core.CustomTypeProviders Assembly : System.Linq.Dynamic.Core.dll Syntax public abstract class AbstractDynamicLinqCustomTypeProvider Methods | Improve this Doc View Source FindTypesMarkedWithDynamicLinqTypeAttribute(IEnumerable<Assembly>) Finds the unique types marked with DynamicLinqTypeAttribute. Declaration protected IEnumerable<Type> FindTypesMarkedWithDynamicLinqTypeAttribute([NotNull] IEnumerable<Assembly> assemblies) Parameters Type Name Description IEnumerable < Assembly > assemblies The assemblies to process. Returns Type Description IEnumerable < Type > IEnumerable<T> | Improve this Doc View Source GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable<Assembly>) Gets the assembly types annotated with DynamicLinqTypeAttribute in an Exception friendly way. Declaration protected IEnumerable<Type> GetAssemblyTypesWithDynamicLinqTypeAttribute([NotNull] IEnumerable<Assembly> assemblies) Parameters Type Name Description IEnumerable < Assembly > assemblies The assemblies to process. Returns Type Description IEnumerable < Type > IEnumerable<T> | Improve this Doc View Source ResolveType(IEnumerable<Assembly>, String) Resolve any type which is registered in the current application domain. Declaration protected Type ResolveType([NotNull] IEnumerable<Assembly> assemblies, [NotNull] string typeName) Parameters Type Name Description IEnumerable < Assembly > assemblies The assemblies to inspect. String typeName The typename to resolve. Returns Type Description Type A resolved Type or null when not found. | Improve this Doc View Source ResolveTypeBySimpleName(IEnumerable<Assembly>, String) Resolve a type by the simple name which is registered in the current application domain. Declaration protected Type ResolveTypeBySimpleName([NotNull] IEnumerable<Assembly> assemblies, [NotNull] string simpleTypeName) Parameters Type Name Description IEnumerable < Assembly > assemblies The assemblies to inspect. String simpleTypeName The simple typename to resolve. Returns Type Description Type A resolved Type or null when not found."
},
"api/System.Linq.Dynamic.Core.ParsingConfig.html": {
"href": "api/System.Linq.Dynamic.Core.ParsingConfig.html",
"title": "Class ParsingConfig",
"keywords": "Class ParsingConfig Configuration class for System.Linq.Dynamic.Core. Inheritance Object ParsingConfig Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public class ParsingConfig Properties | Improve this Doc View Source AllowNewToEvaluateAnyType Allows the New() keyword to evaluate any available Type. Default value is false. Declaration public bool AllowNewToEvaluateAnyType { get; set; } Property Value Type Description Boolean | Improve this Doc View Source AreContextKeywordsEnabled Determines if the context keywords (it, parent, and root) are valid and usable inside a Dynamic Linq string expression. Does not affect the usability of the equivalent context symbols ($, ^ and ~). Default value is true. Declaration public bool AreContextKeywordsEnabled { get; set; } Property Value Type Description Boolean | Improve this Doc View Source CustomTypeProvider Gets or sets the IDynamicLinkCustomTypeProvider . Declaration public IDynamicLinkCustomTypeProvider CustomTypeProvider { get; set; } Property Value Type Description IDynamicLinkCustomTypeProvider | Improve this Doc View Source DateTimeIsParsedAsUTC By default DateTime (like 'Fri, 10 May 2019 11:03:17 GMT') is parsed as local time. Use this flag to parse all DateTime strings as UTC. Default value is false. Declaration public bool DateTimeIsParsedAsUTC { get; set; } Property Value Type Description Boolean | Improve this Doc View Source Default Default ParsingConfig Declaration public static ParsingConfig Default { get; } Property Value Type Description ParsingConfig | Improve this Doc View Source DefaultEFCore21 Default ParsingConfig for EntityFramework Core 2.1 and higher Declaration public static ParsingConfig DefaultEFCore21 { get; } Property Value Type Description ParsingConfig | Improve this Doc View Source DisableMemberAccessToIndexAccessorFallback By default when a member is not found in a type and the type has a string based index accessor it will be parsed as an index accessor. Use this flag to disable this behaviour and have parsing fail when parsing an expression where a member access on a non existing member happens. Default value is false. Declaration public bool DisableMemberAccessToIndexAccessorFallback { get; set; } Property Value Type Description Boolean | Improve this Doc View Source EvaluateGroupByAtDatabase Gets or sets a value indicating whether the EntityFramework version supports evaluating GroupBy at database level. See https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-2.1#linq-groupby-translation Remark: when this setting is set to 'true', make sure to supply this ParsingConfig as first parameter on the extension methods. Default value is false. Declaration public bool EvaluateGroupByAtDatabase { get; set; } Property Value Type Description Boolean | Improve this Doc View Source ExpressionPromoter Gets or sets the IExpressionPromoter . Declaration public IExpressionPromoter ExpressionPromoter { get; set; } Property Value Type Description IExpressionPromoter | Improve this Doc View Source NumberParseCulture The number parsing culture. Default value is CultureInfo.InvariantCulture Declaration public CultureInfo NumberParseCulture { get; set; } Property Value Type Description CultureInfo | Improve this Doc View Source QueryableAnalyzer Gets or sets the IQueryableAnalyzer . Declaration public IQueryableAnalyzer QueryableAnalyzer { get; set; } Property Value Type Description IQueryableAnalyzer | Improve this Doc View Source RenameParameterExpression Renames the (Typed)ParameterExpression empty Name to a the correct supplied name from it . Default value is false. Declaration public bool RenameParameterExpression { get; set; } Property Value Type Description Boolean | Improve this Doc View Source ResolveTypesBySimpleName By default finding types by a simple name is not supported. Use this flag to use the CustomTypeProvider to resolve types by a simple name like \"Employee\" instead of \"MyDatabase.Entities.Employee\". Note that a first matching type is returned and this functionality needs to scan all types from all assemblies, so use with caution. Default value is false. Declaration public bool ResolveTypesBySimpleName { get; set; } Property Value Type Description Boolean | Improve this Doc View Source SupportEnumerationsFromSystemNamespace Support enumeration-types from the System namespace in mscorlib. An example could be \"StringComparison\". Default value is true. Declaration public bool SupportEnumerationsFromSystemNamespace { get; set; } Property Value Type Description Boolean | Improve this Doc View Source UseDynamicObjectClassForAnonymousTypes Gets or sets a value indicating whether to use dynamic object class for anonymous types. Default value is false. Declaration public bool UseDynamicObjectClassForAnonymousTypes { get; set; } Property Value Type Description Boolean | Improve this Doc View Source UseParameterizedNamesInDynamicQuery Use Parameterized Names in generated dynamic SQL query. See https://github.com/graeme-hill/gblog/blob/master/source_content/articles/2014.139_entity-framework-dynamic-queries-and-parameterization.mkd Default value is false. Declaration public bool UseParameterizedNamesInDynamicQuery { get; set; } Property Value Type Description Boolean"
},
"api/System.Linq.Dynamic.Core.Parser.html": {
"href": "api/System.Linq.Dynamic.Core.Parser.html",
"title": "Namespace System.Linq.Dynamic.Core.Parser",
"keywords": "Namespace System.Linq.Dynamic.Core.Parser Classes ExpressionParser ExpressionParser ExpressionPromoter NumberParser NumberParser Interfaces IExpressionPromoter Expression promoter is used to promote object or value types to their destination type when an automatic promotion is available such as: int to int?"
},
"api/System.Linq.Dynamic.Core.Parser.ExpressionPromoter.html": {
"href": "api/System.Linq.Dynamic.Core.Parser.ExpressionPromoter.html",
"title": "Class ExpressionPromoter",
"keywords": "Class ExpressionPromoter Inheritance Object ExpressionPromoter Implements IExpressionPromoter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core.Parser Assembly : System.Linq.Dynamic.Core.dll Syntax public class ExpressionPromoter : IExpressionPromoter Constructors | Improve this Doc View Source ExpressionPromoter(ParsingConfig) Initializes a new instance of the ExpressionPromoter class. Declaration public ExpressionPromoter(ParsingConfig config) Parameters Type Name Description ParsingConfig config The ParsingConfig. Methods | Improve this Doc View Source Promote(Expression, Type, Boolean, Boolean) Declaration public virtual Expression Promote(Expression expr, Type type, bool exact, bool convertExpr) Parameters Type Name Description Expression expr Type type Boolean exact Boolean convertExpr Returns Type Description Expression Implements IExpressionPromoter"
},
"api/System.Linq.Dynamic.Core.Parser.ExpressionParser.html": {
"href": "api/System.Linq.Dynamic.Core.Parser.ExpressionParser.html",
"title": "Class ExpressionParser",
"keywords": "Class ExpressionParser ExpressionParser Inheritance Object ExpressionParser Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core.Parser Assembly : System.Linq.Dynamic.Core.dll Syntax public class ExpressionParser Constructors | Improve this Doc View Source ExpressionParser(ParameterExpression[], String, Object[], ParsingConfig) Initializes a new instance of the ExpressionParser class. Declaration public ExpressionParser([CanBeNull] ParameterExpression[] parameters, [NotNull] string expression, [CanBeNull] object[] values, [CanBeNull] ParsingConfig parsingConfig) Parameters Type Name Description ParameterExpression [] parameters The parameters. String expression The expression. Object [] values The values. ParsingConfig parsingConfig The parsing configuration. Properties | Improve this Doc View Source ItName Gets name for the it field. By default this is set to the KeyWord value \"it\". Declaration public string ItName { get; } Property Value Type Description String | Improve this Doc View Source LastLambdaItName There was a problem when an expression contained multiple lambdas where the ItName was not cleared and freed for the next lambda. This variable stores the ItName of the last parsed lambda. Not used internally by ExpressionParser, but used to preserve compatiblity of parsingConfig.RenameParameterExpression which was designed to only work with mono-lambda expressions. Declaration public string LastLambdaItName { get; } Property Value Type Description String Methods | Improve this Doc View Source Parse(Type, Boolean) Uses the TextParser to parse the string into the specified result type. Declaration public Expression Parse([CanBeNull] Type resultType, bool createParameterCtor = true) Parameters Type Name Description Type resultType Type of the result. Boolean createParameterCtor if set to true [create parameter ctor]. Returns Type Description Expression Expression"
},
"api/System.Linq.Dynamic.Core.IQueryableAnalyzer.html": {
"href": "api/System.Linq.Dynamic.Core.IQueryableAnalyzer.html",
"title": "Interface IQueryableAnalyzer",
"keywords": "Interface IQueryableAnalyzer Interface for QueryableAnalyzer. Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public interface IQueryableAnalyzer Methods | Improve this Doc View Source SupportsLinqToObjects(IQueryable, IQueryProvider) Determines whether the specified query (and provider) supports LinqToObjects. Declaration bool SupportsLinqToObjects([NotNull] IQueryable query, [CanBeNull] IQueryProvider provider = null) Parameters Type Name Description IQueryable query The query to check. IQueryProvider provider The provider to check (can be null). Returns Type Description Boolean true/false"
},
"api/System.Linq.Dynamic.Core.html": {
"href": "api/System.Linq.Dynamic.Core.html",
"title": "Namespace System.Linq.Dynamic.Core",
"keywords": "Namespace System.Linq.Dynamic.Core Classes DefaultQueryableAnalyzer Default implementation. DynamicClass Provides a base class for dynamic objects for Net 3.5 DynamicClassFactory A factory to create dynamic classes, based on http://stackoverflow.com/questions/29413942/c-sharp-anonymous-object-with-properties-from-dictionary . DynamicEnumerableExtensions Define extensions on IEnumerable . DynamicExpressionParser Helper class to convert an expression into an LambdaExpression DynamicProperty DynamicProperty DynamicQueryableExtensions Provides a set of static (Shared in Visual Basic) methods for querying data structures that implement IQueryable . It allows dynamic string based querying. Very handy when, at compile time, you don't know the type of queries that will be generated, or when downstream components only return column names to sort and filter by. ExtensibilityPoint Extensibility point: If you want to modify expanded queries before executing them set your own functionality to override empty QueryOptimizer GroupResult The result of a call to a DynamicQueryableExtensions .GroupByMany() overload. PagedResult PagedResult PagedResult<TSource> PagedResult{TSource} ParsingConfig Configuration class for System.Linq.Dynamic.Core. Interfaces IAssemblyHelper IAssemblyHelper interface which is used to retrieve assemblies that have been loaded into the execution context of this application domain. IQueryableAnalyzer Interface for QueryableAnalyzer."
},
"api/System.Linq.Dynamic.Core.Parser.NumberParser.html": {
"href": "api/System.Linq.Dynamic.Core.Parser.NumberParser.html",
"title": "Class NumberParser",
"keywords": "Class NumberParser NumberParser Inheritance Object NumberParser Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core.Parser Assembly : System.Linq.Dynamic.Core.dll Syntax public class NumberParser Constructors | Improve this Doc View Source NumberParser(ParsingConfig) Initializes a new instance of the NumberParser class. Declaration public NumberParser(ParsingConfig config) Parameters Type Name Description ParsingConfig config The ParsingConfig. Methods | Improve this Doc View Source ParseNumber(String, Type) Parses the number (text) into the specified type. Declaration public object ParseNumber(string text, Type type) Parameters Type Name Description String text The text. Type type The type. Returns Type Description Object"
},
"api/System.Linq.Dynamic.Core.Parser.IExpressionPromoter.html": {
"href": "api/System.Linq.Dynamic.Core.Parser.IExpressionPromoter.html",
"title": "Interface IExpressionPromoter",
"keywords": "Interface IExpressionPromoter Expression promoter is used to promote object or value types to their destination type when an automatic promotion is available such as: int to int? Namespace : System.Linq.Dynamic.Core.Parser Assembly : System.Linq.Dynamic.Core.dll Syntax public interface IExpressionPromoter Methods | Improve this Doc View Source Promote(Expression, Type, Boolean, Boolean) Promote an expression Declaration Expression Promote(Expression expr, Type type, bool exact, bool convertExpr) Parameters Type Name Description Expression expr Source expression Type type Destionation data type to promote Boolean exact If the match must be exact Boolean convertExpr Convert expression Returns Type Description Expression The promoted Expression"
},
"api/System.Linq.Dynamic.Core.PagedResult.html": {
"href": "api/System.Linq.Dynamic.Core.PagedResult.html",
"title": "Class PagedResult",
"keywords": "Class PagedResult PagedResult Inheritance Object PagedResult PagedResult<TSource> Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public class PagedResult Properties | Improve this Doc View Source CurrentPage Gets or sets the current page. Declaration public int CurrentPage { get; set; } Property Value Type Description Int32 The current page. | Improve this Doc View Source PageCount Gets or sets the page count. Declaration public int PageCount { get; set; } Property Value Type Description Int32 The page count. | Improve this Doc View Source PageSize Gets or sets the size of the page. Declaration public int PageSize { get; set; } Property Value Type Description Int32 The size of the page. | Improve this Doc View Source Queryable Gets or sets the queryable. Declaration public IQueryable Queryable { get; set; } Property Value Type Description IQueryable The queryable. | Improve this Doc View Source RowCount Gets or sets the row count. Declaration public int RowCount { get; set; } Property Value Type Description Int32 The row count."
},
"api/System.Linq.Dynamic.Core.PagedResult-1.html": {
"href": "api/System.Linq.Dynamic.Core.PagedResult-1.html",
"title": "Class PagedResult<TSource>",
"keywords": "Class PagedResult<TSource> PagedResult{TSource} Inheritance Object PagedResult PagedResult<TSource> Inherited Members PagedResult.CurrentPage PagedResult.PageCount PagedResult.PageSize PagedResult.RowCount Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public class PagedResult<TSource> : PagedResult Type Parameters Name Description TSource The type of the source. Properties | Improve this Doc View Source Queryable Gets or sets the queryable. Declaration public IQueryable<TSource> Queryable { get; set; } Property Value Type Description IQueryable <TSource> The queryable."
},
"api/System.Linq.Dynamic.Core.GroupResult.html": {
"href": "api/System.Linq.Dynamic.Core.GroupResult.html",
"title": "Class GroupResult",
"keywords": "Class GroupResult The result of a call to a DynamicQueryableExtensions .GroupByMany() overload. Inheritance Object GroupResult Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public class GroupResult Properties | Improve this Doc View Source Count The number of resulting elements in the group. Declaration public int Count { get; } Property Value Type Description Int32 | Improve this Doc View Source Items The resulting elements in the group. Declaration public IEnumerable Items { get; } Property Value Type Description IEnumerable | Improve this Doc View Source Key The key value of the group. Declaration public object Key { get; } Property Value Type Description Object | Improve this Doc View Source Subgroups The resulting subgroups in the group. Declaration public IEnumerable<GroupResult> Subgroups { get; } Property Value Type Description IEnumerable < GroupResult > Methods | Improve this Doc View Source ToString() Returns a String showing the key of the group and the number of items in the group. Declaration public override string ToString() Returns Type Description String A String that represents this instance. Overrides Object.ToString()"
},
"api/System.Linq.Dynamic.Core.ExtensibilityPoint.html": {
"href": "api/System.Linq.Dynamic.Core.ExtensibilityPoint.html",
"title": "Class ExtensibilityPoint",
"keywords": "Class ExtensibilityPoint Extensibility point: If you want to modify expanded queries before executing them set your own functionality to override empty QueryOptimizer Inheritance Object ExtensibilityPoint Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public class ExtensibilityPoint Fields | Improve this Doc View Source QueryOptimizer Place to optimize your queries. Example: Add a reference to Nuget package Linq.Expression.Optimizer and in your program initializers set Extensibility.QueryOptimizer = ExpressionOptimizer.visit; Declaration public static Func<Expression, Expression> QueryOptimizer Field Value Type Description Func < Expression , Expression >"
},
"api/System.Linq.Dynamic.Core.Exceptions.ParseException.html": {
"href": "api/System.Linq.Dynamic.Core.Exceptions.ParseException.html",
"title": "Class ParseException",
"keywords": "Class ParseException Represents errors that occur while parsing dynamic linq string expressions. Inheritance Object Exception ParseException Implements ISerializable _Exception Inherited Members Exception.GetBaseException() Exception.GetType() Exception.Message Exception.Data Exception.InnerException Exception.TargetSite Exception.StackTrace Exception.HelpLink Exception.Source Exception.HResult Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core.Exceptions Assembly : System.Linq.Dynamic.Core.dll Syntax [Serializable] public sealed class ParseException : Exception, ISerializable, _Exception Constructors | Improve this Doc View Source ParseException(String, Int32) Initializes a new instance of the ParseException class with a specified error message and position. Declaration public ParseException(string message, int position) Parameters Type Name Description String message The message that describes the error. Int32 position The location in the parsed string that produced the ParseException Properties | Improve this Doc View Source Position The location in the parsed string that produced the ParseException . Declaration public int Position { get; } Property Value Type Description Int32 Methods | Improve this Doc View Source GetObjectData(SerializationInfo, StreamingContext) When overridden in a derived class, sets the SerializationInfo with information about the exception. Declaration public override void GetObjectData(SerializationInfo info, StreamingContext context) Parameters Type Name Description SerializationInfo info The SerializationInfo that holds the serialized object data about the exception being thrown. StreamingContext context The StreamingContext that contains contextual information about the source or destination. Overrides Exception.GetObjectData(SerializationInfo, StreamingContext) | Improve this Doc View Source ToString() Creates and returns a string representation of the current exception. Declaration public override string ToString() Returns Type Description String A string representation of the current exception. Overrides Exception.ToString() Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception"
},
"api/System.Linq.Dynamic.Core.DynamicProperty.html": {
"href": "api/System.Linq.Dynamic.Core.DynamicProperty.html",
"title": "Class DynamicProperty",
"keywords": "Class DynamicProperty DynamicProperty Inheritance Object DynamicProperty Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public class DynamicProperty Constructors | Improve this Doc View Source DynamicProperty(String, Type) Initializes a new instance of the DynamicProperty class. Declaration public DynamicProperty(string name, Type type) Parameters Type Name Description String name The name from the property. Type type The type from the property. Properties | Improve this Doc View Source Name Gets the name from the property. Declaration public string Name { get; } Property Value Type Description String The name from the property. | Improve this Doc View Source Type Gets the type from the property. Declaration public Type Type { get; } Property Value Type Description Type The type from the property."
},
"api/System.Linq.Dynamic.Core.DynamicEnumerableExtensions.html": {
"href": "api/System.Linq.Dynamic.Core.DynamicEnumerableExtensions.html",
"title": "Class DynamicEnumerableExtensions",
"keywords": "Class DynamicEnumerableExtensions Define extensions on IEnumerable . Inheritance Object DynamicEnumerableExtensions Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public static class DynamicEnumerableExtensions Methods | Improve this Doc View Source ToDynamicArray(IEnumerable) Creates an array of dynamic objects from a IEnumerable . Declaration public static object[] ToDynamicArray([NotNull] this IEnumerable source) Parameters Type Name Description IEnumerable source A IEnumerable to create an array from. Returns Type Description Object [] An array that contains the elements from the input sequence. | Improve this Doc View Source ToDynamicArray(IEnumerable, Type) Creates an array of dynamic objects from a IEnumerable . Declaration public static object[] ToDynamicArray([NotNull] this IEnumerable source, [NotNull] Type type) Parameters Type Name Description IEnumerable source A IEnumerable to create an array from. Type type A Type cast to. Returns Type Description Object [] An Array that contains the elements from the input sequence. | Improve this Doc View Source ToDynamicArray<T>(IEnumerable) Creates an array of dynamic objects from a IEnumerable . Declaration public static T[] ToDynamicArray<T>([NotNull] this IEnumerable source) Parameters Type Name Description IEnumerable source A IEnumerable to create an array from. Returns Type Description T[] An Array{T} that contains the elements from the input sequence. Type Parameters Name Description T The generic type. | Improve this Doc View Source ToDynamicList(IEnumerable) Creates a list of dynamic objects from a IEnumerable . Declaration public static List<object> ToDynamicList([NotNull] this IEnumerable source) Parameters Type Name Description IEnumerable source A IEnumerable to create an array from. Returns Type Description List < Object > A List that contains the elements from the input sequence. | Improve this Doc View Source ToDynamicList(IEnumerable, Type) Creates a list of dynamic objects from a IEnumerable . Declaration public static List<object> ToDynamicList([NotNull] this IEnumerable source, [NotNull] Type type) Parameters Type Name Description IEnumerable source A IEnumerable to create an array from. Type type A Type cast to. Returns Type Description List < Object > A List that contains the elements from the input sequence. | Improve this Doc View Source ToDynamicList<T>(IEnumerable) Creates a list of dynamic objects from a IEnumerable . Declaration public static List<T> ToDynamicList<T>([NotNull] this IEnumerable source) Parameters Type Name Description IEnumerable source A IEnumerable to create an array from. Returns Type Description List <T> A List{T} that contains the elements from the input sequence. Type Parameters Name Description T Generic Type"
},
"api/System.Linq.Dynamic.Core.DynamicClassFactory.html": {
"href": "api/System.Linq.Dynamic.Core.DynamicClassFactory.html",
"title": "Class DynamicClassFactory",
"keywords": "Class DynamicClassFactory A factory to create dynamic classes, based on http://stackoverflow.com/questions/29413942/c-sharp-anonymous-object-with-properties-from-dictionary . Inheritance Object DynamicClassFactory Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public static class DynamicClassFactory Methods | Improve this Doc View Source CreateType(IList<DynamicProperty>, Boolean) The CreateType method creates a new data class with a given set of public properties and returns the System.Type object for the newly created class. If a data class with an identical sequence of properties has already been created, the System.Type object for this class is returned. Data classes implement private instance variables and read/write property accessors for the specified properties.Data classes also override the Equals and GetHashCode members to implement by-value equality. Data classes are created in an in-memory assembly in the current application domain. All data classes inherit from DynamicClass and are given automatically generated names that should be considered private (the names will be unique within the application domain but not across multiple invocations of the application). Note that once created, a data class stays in memory for the lifetime of the current application domain. There is currently no way to unload a dynamically created data class. The dynamic expression parser uses the CreateClass methods to generate classes from data object initializers. This feature in turn is often used with the dynamic Select method to create projections. Declaration public static Type CreateType([NotNull] IList<DynamicProperty> properties, bool createParameterCtor = true) Parameters Type Name Description IList < DynamicProperty > properties The DynamicProperties Boolean createParameterCtor Create a constructor with parameters. Default set to true. Note that for Linq-to-Database objects, this needs to be set to false. Returns Type Description Type Type Examples DynamicProperty[] props = new DynamicProperty[] { new DynamicProperty(\"Name\", typeof(string)), new DynamicProperty(\"Birthday\", typeof(DateTime)) }; Type type = DynamicClassFactory.CreateType(props); DynamicClass dynamicClass = Activator.CreateInstance(type) as DynamicClass; dynamicClass.SetDynamicProperty(\"Name\", \"Albert\"); dynamicClass.SetDynamicProperty(\"Birthday\", new DateTime(1879, 3, 14)); Console.WriteLine(dynamicClass);"
},
"api/System.Linq.Dynamic.Core.DefaultQueryableAnalyzer.html": {
"href": "api/System.Linq.Dynamic.Core.DefaultQueryableAnalyzer.html",
"title": "Class DefaultQueryableAnalyzer",
"keywords": "Class DefaultQueryableAnalyzer Default implementation. Inheritance Object DefaultQueryableAnalyzer Implements IQueryableAnalyzer Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : System.Linq.Dynamic.Core Assembly : System.Linq.Dynamic.Core.dll Syntax public class DefaultQueryableAnalyzer : IQueryableAnalyzer Methods | Improve this Doc View Source SupportsLinqToObjects(IQueryable, IQueryProvider) Declaration public bool SupportsLinqToObjects(IQueryable query, IQueryProvider provider = null) Parameters Type Name Description IQueryable query IQueryProvider provider Returns Type Description Boolean Implements IQueryableAnalyzer See Also IQueryableAnalyzer"
},
"index.html": {
"href": "index.html",
"title": "System.Linq.Dynamic.Core",
"keywords": "System.Linq.Dynamic.Core This is a .NET Core / Standard port of the Microsoft assembly for the .Net 4.0 Dynamic language functionality. Overview With this library it's possible to write Dynamic LINQ queries (string based) on an IQueryable : var query = db.Customers .Where(\"City == @0 and Orders.Count >= @1\", \"London\", 10) .OrderBy(\"CompanyName\") .Select(\"new(CompanyName as Name, Phone)\"); API Documentation See this link ."
}
}