diff --git a/CHANGELOG.md b/CHANGELOG.md
index f02fb429..0cbdeb3d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,15 @@
+# v1.3.0 (03 March 2023)
+- [#669](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/669) - Methods should only be callable on predefined types [security] contributed by [StefH](https://github.com/StefH)
+- [#671](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/671) - Add support for DateOnly and TimeOnly [feature] contributed by [StefH](https://github.com/StefH)
+- [#672](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/672) - Fixed ExpressionParser when WrappedValue-string is used for equals-operator for Enum [bug] contributed by [StefH](https://github.com/StefH)
+- [#674](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/674) - Stef 668 enum string wrapped contributed by [neilbgr](https://github.com/neilbgr)
+- [#676](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/676) - Change default setting for PrioritizePropertyOrFieldOverTheType to 'true'. [bug] contributed by [StefH](https://github.com/StefH)
+- [#651](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/651) - Selecting shadow properties
+- [#661](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/661) - Question on projection of child object properties in a Select.
+- [#667](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/667) - DateOnly support [feature]
+- [#668](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/668) - With UseParameterizedNamesInDynamicQuery, can't compare enum type with String [bug]
+- [#675](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/675) - Expression does not parse any more 1.2.25 (works in 1.2.24) [bug]
+
# v1.2.25 (05 February 2023)
- [#664](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/664) - Add config setting for PrioritizePropertyOrFieldOverTheType [feature] contributed by [StefH](https://github.com/StefH)
- [#665](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/665) - Update AbstractDynamicLinqCustomTypeProvider to exclude null types [bug] contributed by [StefH](https://github.com/StefH)
diff --git a/Generate-ReleaseNotes.bat b/Generate-ReleaseNotes.bat
index b370cd6a..f7d133e1 100644
--- a/Generate-ReleaseNotes.bat
+++ b/Generate-ReleaseNotes.bat
@@ -1,5 +1,5 @@
rem https://github.com/StefH/GitHubReleaseNotes
-SET version=v1.2.25
+SET version=v1.3.0
GitHubReleaseNotes --output CHANGELOG.md --exclude-labels invalid question documentation wontfix --language en --version %version% --token %GH_TOKEN%
diff --git a/docfx/howto.txt b/docfx/howto.txt
index 82658ff3..209f7559 100644
--- a/docfx/howto.txt
+++ b/docfx/howto.txt
@@ -1,3 +1,3 @@
1. choco install docfx -y
-2. Run powershell script: build-docs.ps1 -serve
+2. Run powershell script: ./build-docs.ps1 -serve
diff --git a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider.html b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider.html
index 7ad421a5..815a4cd4 100644
--- a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider.html
+++ b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,32 +88,32 @@
Inheritance
-
+
AbstractDynamicLinqCustomTypeProvider
@@ -126,10 +126,10 @@ Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
FindTypesMarkedWithDynamicLinqTypeAttribute(IEnumerable<Assembly>)
@@ -138,7 +138,7 @@
Declaration
-
protected IEnumerable<Type> FindTypesMarkedWithDynamicLinqTypeAttribute([NotNull] IEnumerable<Assembly> assemblies)
+
protected IEnumerable<Type> FindTypesMarkedWithDynamicLinqTypeAttribute(IEnumerable<Assembly> assemblies)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable<Assembly>)
@@ -188,7 +188,7 @@
Declaration
-
protected IEnumerable<Type> GetAssemblyTypesWithDynamicLinqTypeAttribute([NotNull] IEnumerable<Assembly> assemblies)
+
protected IEnumerable<Type> GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable<Assembly> assemblies)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ResolveType(IEnumerable<Assembly>, String)
@@ -238,7 +238,7 @@
Declaration
-
protected Type ResolveType([NotNull] IEnumerable<Assembly> assemblies, [NotNull] string typeName)
+
protected Type ResolveType(IEnumerable<Assembly> assemblies, string typeName)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ResolveTypeBySimpleName(IEnumerable<Assembly>, String)
@@ -294,7 +294,7 @@
Declaration
-
protected Type ResolveTypeBySimpleName([NotNull] IEnumerable<Assembly> assemblies, [NotNull] string simpleTypeName)
+
protected Type ResolveTypeBySimpleName(IEnumerable<Assembly> assemblies, string simpleTypeName)
Parameters
@@ -307,13 +307,13 @@ Parameters
- IEnumerable <Assembly >
+ IEnumerable <Assembly >
assemblies
The assemblies to inspect.
- String
+ String
simpleTypeName
The simple typename to resolve.
@@ -330,8 +330,8 @@ Returns
- Type
- A resolved Type or null when not found.
+ Type
+ A resolved Type or null when not found.
@@ -344,15 +344,16 @@ Returns
diff --git a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html
index 03c9bbbb..60656171 100644
--- a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html
+++ b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -83,7 +83,7 @@
Class DefaultDynamicLinqCustomTypeProvider
-
The default implementation for IDynamicLinkCustomTypeProvider .
+
The default implementation for DefaultDynamicLinqCustomTypeProvider .
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
@@ -91,13 +91,14 @@
Inheritance
-
+
DefaultDynamicLinqCustomTypeProvider
-
Assembly : System.Linq.Dynamic.Core.dll
Syntax
-
public class DefaultDynamicLinqCustomTypeProvider : AbstractDynamicLinqCustomTypeProvider, IDynamicLinkCustomTypeProvider
+
public class DefaultDynamicLinqCustomTypeProvider : AbstractDynamicLinqCustomTypeProvider, IDynamicLinkCustomTypeProvider, IDynamicLinqCustomTypeProvider
Constructors
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
DefaultDynamicLinqCustomTypeProvider(Boolean)
@@ -170,9 +171,9 @@
Parameters
- Boolean
+ Boolean
cacheCustomTypes
- Defines whether to cache the CustomTypes which are found in the Application Domain. Default set to 'true'.
+ Defines whether to cache the CustomTypes (including extension methods) which are found in the Application Domain. Default set to 'true'.
@@ -181,14 +182,15 @@
Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
GetCustomTypes()
-
+
Returns a list of custom types that System.Linq.Dynamic.Core will understand.
+
Declaration
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ GetExtensionMethods()
+ Returns a list of custom extension methods that System.Linq.Dynamic.Core will understand.
+
+
+ Declaration
+
+
public Dictionary<Type, List<MethodInfo>> GetExtensionMethods()
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Dictionary <Type , List <MethodInfo >>
+ A list of custom extension methods that System.Linq.Dynamic.Core will understand.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ResolveType(String)
-
+ Resolve any type by fullname which is registered in the current application domain.
+
Declaration
@@ -235,9 +271,10 @@
Parameters
- String
+ String
typeName
-
+ The typename to resolve.
+
@@ -251,21 +288,23 @@
Returns
- Type
-
+ Type
+ A resolved Type or null when not found.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ResolveTypeBySimpleName(String)
-
+
Resolve any type by the simple name which is registered in the current application domain.
+
Declaration
@@ -282,9 +321,10 @@
Parameters
- String
+ String
simpleTypeName
-
+ The typename to resolve.
+
@@ -298,8 +338,9 @@
Returns
- Type
-
+ Type
+ A resolved Type or null when not found.
+
@@ -307,6 +348,9 @@
Implements
+
@@ -315,15 +359,16 @@
Implements
diff --git a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DynamicLinqTypeAttribute.html b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DynamicLinqTypeAttribute.html
index ec24ee5a..5c5a5bbc 100644
--- a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DynamicLinqTypeAttribute.html
+++ b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DynamicLinqTypeAttribute.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,165 +88,165 @@
Inheritance
-
-
+
+
DynamicLinqTypeAttribute
-
+
Inherited Members
-
Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
+
Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
Assembly : System.Linq.Dynamic.Core.dll
Syntax
-
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
+ [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
public sealed class DynamicLinqTypeAttribute : Attribute, _Attribute
Implements
@@ -256,15 +256,16 @@ Implements
diff --git a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.html b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.html
index eeb933eb..b78f6b3d 100644
--- a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.html
+++ b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -83,149 +83,31 @@
Interface IDynamicLinkCustomTypeProvider
-
Interface for providing functionality to find custom types for or resolve any type.
+
Interface for providing functionality to find custom types for or resolve any type.
+Note that this interface will be marked obsolete in the next version. Use IDynamicLinqCustomTypeProvider instead.
+
+
Inherited Members
+
+
+
+
+
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
-
-
- |
- 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)
+
public interface IDynamicLinkCustomTypeProvider : IDynamicLinqCustomTypeProvider
-
Parameters
-
-
-
- Type
- Name
- Description
-
-
-
-
- String
- simpleTypeName
- The typename to resolve.
-
-
-
-
-
Returns
-
-
-
- Type
- Description
-
-
-
-
- Type
- A resolved Type or null when not found.
-
-
-
-
@@ -234,15 +116,16 @@
Returns
diff --git a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html
new file mode 100644
index 00000000..b0b7f031
--- /dev/null
+++ b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html
@@ -0,0 +1,303 @@
+
+
+
+
+
+
+
+ Interface IDynamicLinqCustomTypeProvider
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search Results for
+
+
+
+
+
+
+
+
+
+
+
+
+ Interface IDynamicLinqCustomTypeProvider
+
+ Interface for providing functionality to find custom types for or resolve any type.
+
+
+
+ Assembly : System.Linq.Dynamic.Core.dll
+ Syntax
+
+
public interface IDynamicLinqCustomTypeProvider
+
+ 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
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ GetExtensionMethods()
+ Returns a list of custom extension methods that System.Linq.Dynamic.Core will understand.
+
+
+ Declaration
+
+
Dictionary<Type, List<MethodInfo>> GetExtensionMethods()
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Dictionary <Type , List <MethodInfo >>
+ A list of custom extension methods that System.Linq.Dynamic.Core will understand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ResolveType(String)
+ Resolve any type by fullname which is registered in the current application domain.
+
+
+ Declaration
+
+
Type ResolveType(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(string simpleTypeName)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ String
+ simpleTypeName
+ The typename to resolve.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Type
+ A resolved Type or null when not found.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.html b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.html
index 2aabbd59..dbe11daf 100644
--- a/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.html
+++ b/docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
diff --git a/docs/api/System.Linq.Dynamic.Core.DefaultQueryableAnalyzer.html b/docs/api/System.Linq.Dynamic.Core.DefaultQueryableAnalyzer.html
index 83a4de51..66ce87d3 100644
--- a/docs/api/System.Linq.Dynamic.Core.DefaultQueryableAnalyzer.html
+++ b/docs/api/System.Linq.Dynamic.Core.DefaultQueryableAnalyzer.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,35 +88,35 @@
Inheritance
-
+
DefaultQueryableAnalyzer
-
diff --git a/docs/api/System.Linq.Dynamic.Core.DynamicClass.html b/docs/api/System.Linq.Dynamic.Core.DynamicClass.html
index 31d0077d..60696707 100644
--- a/docs/api/System.Linq.Dynamic.Core.DynamicClass.html
+++ b/docs/api/System.Linq.Dynamic.Core.DynamicClass.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,31 +88,31 @@
Inheritance
-
+
DynamicClass
Namespace : System.Linq.Dynamic.Core
@@ -125,10 +125,10 @@ Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
GetDynamicPropertyValue(String)
@@ -150,7 +150,7 @@ Parameters
- String
+ String
propertyName
Name of the property.
@@ -167,7 +167,7 @@ Returns
- Object
+ Object
value
@@ -175,10 +175,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
GetDynamicPropertyValue<T>(String)
@@ -200,7 +200,7 @@ Parameters
- String
+ String
propertyName
Name of the property.
@@ -241,10 +241,10 @@ Type Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SetDynamicPropertyValue(String, Object)
@@ -266,13 +266,13 @@ Parameters
- String
+ String
propertyName
Name of the property.
- Object
+ Object
value
The value.
@@ -281,10 +281,10 @@ Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SetDynamicPropertyValue<T>(String, T)
@@ -306,7 +306,7 @@ Parameters
- String
+ String
propertyName
Name of the property.
@@ -343,15 +343,16 @@ Type Parameters
diff --git a/docs/api/System.Linq.Dynamic.Core.DynamicClassFactory.html b/docs/api/System.Linq.Dynamic.Core.DynamicClassFactory.html
index 1fabf250..c04be03a 100644
--- a/docs/api/System.Linq.Dynamic.Core.DynamicClassFactory.html
+++ b/docs/api/System.Linq.Dynamic.Core.DynamicClassFactory.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,31 +88,31 @@
Inheritance
-
+
DynamicClassFactory
Namespace : System.Linq.Dynamic.Core
@@ -125,10 +125,66 @@ Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
+
+
+ CreateGenericComparerType(Type, Type)
+ Create a GenericComparerType based on the GenericType and an instance of a IComparer .
+
+
+ Declaration
+
+
public static Type CreateGenericComparerType(Type comparerGenericType, Type comparerType)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ comparerGenericType
+ The GenericType
+
+
+
+ Type
+ comparerType
+ The IComparer instance
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Type
+ Type
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
CreateType(IList<DynamicProperty>, Boolean)
@@ -140,7 +196,7 @@
Declaration
-
public static Type CreateType([NotNull] IList<DynamicProperty> properties, bool createParameterCtor = true)
+
public static Type CreateType(IList<DynamicProperty> properties, bool createParameterCtor = true)
Parameters
@@ -153,13 +209,13 @@ Parameters
- IList <DynamicProperty >
+ IList <DynamicProperty >
properties
The DynamicProperties
- Boolean
+ 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.
@@ -176,7 +232,7 @@ Returns
- Type
+ Type
Type
@@ -198,15 +254,16 @@
diff --git a/docs/api/System.Linq.Dynamic.Core.DynamicEnumerableExtensions.html b/docs/api/System.Linq.Dynamic.Core.DynamicEnumerableExtensions.html
index 6d94ef25..f1a51c81 100644
--- a/docs/api/System.Linq.Dynamic.Core.DynamicEnumerableExtensions.html
+++ b/docs/api/System.Linq.Dynamic.Core.DynamicEnumerableExtensions.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -83,36 +83,36 @@
Class DynamicEnumerableExtensions
-
Define extensions on IEnumerable .
+
Inheritance
-
+
DynamicEnumerableExtensions
Namespace : System.Linq.Dynamic.Core
@@ -125,19 +125,19 @@
Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ToDynamicArray(IEnumerable)
-
Creates an array of dynamic objects from a IEnumerable .
+
Creates an array of dynamic objects from a IEnumerable .
Declaration
-
public static object[] ToDynamicArray([NotNull] this IEnumerable source)
+
public static object[] ToDynamicArray(this IEnumerable source)
Parameters
@@ -150,9 +150,9 @@ Parameters
- IEnumerable
+ IEnumerable
source
- A IEnumerable to create an array from.
+ A IEnumerable to create an array from.
@@ -167,7 +167,7 @@ Returns
- Object []
+ Object []
An array that contains the elements from the input sequence.
@@ -175,19 +175,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ToDynamicArray(IEnumerable, Type)
-
Creates an array of dynamic objects from a IEnumerable .
+
Creates an array of dynamic objects from a IEnumerable .
Declaration
-
public static object[] ToDynamicArray([NotNull] this IEnumerable source, [NotNull] Type type)
+
public static object[] ToDynamicArray(this IEnumerable source, Type type)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ToDynamicArray<T>(IEnumerable)
-
Creates an array of dynamic objects from a IEnumerable .
+
Creates an array of dynamic objects from a IEnumerable .
Declaration
-
public static T[] ToDynamicArray<T>([NotNull] this IEnumerable source)
+
public static T[] ToDynamicArray<T>(this IEnumerable source)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ToDynamicList(IEnumerable)
-
Creates a list of dynamic objects from a IEnumerable .
+
Declaration
-
public static List<object> ToDynamicList([NotNull] this IEnumerable source)
+
public static List<object> ToDynamicList(this IEnumerable source)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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)
+
public static List<object> ToDynamicList(this IEnumerable source, Type type)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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)
+
public static List<T> ToDynamicList<T>(this IEnumerable source)
Parameters
@@ -428,9 +428,9 @@ Parameters
- IEnumerable
+ IEnumerable
source
- A IEnumerable to create an array from.
+ A IEnumerable to create an array from.
@@ -445,7 +445,7 @@ Returns
- List <T>
+ List <T>
A List{T} that contains the elements from the input sequence.
@@ -475,15 +475,16 @@ Type Parameters
diff --git a/docs/api/System.Linq.Dynamic.Core.DynamicExpressionParser.html b/docs/api/System.Linq.Dynamic.Core.DynamicExpressionParser.html
index 3b576d8c..95ce693d 100644
--- a/docs/api/System.Linq.Dynamic.Core.DynamicExpressionParser.html
+++ b/docs/api/System.Linq.Dynamic.Core.DynamicExpressionParser.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,31 +88,31 @@
Inheritance
-
+
DynamicExpressionParser
Namespace : System.Linq.Dynamic.Core
@@ -125,10 +125,10 @@ Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(Boolean, ParameterExpression[], Type, String, Object[])
@@ -138,7 +138,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda(bool createParameterCtor, [NotNull] ParameterExpression[] parameters, [CanBeNull] Type resultType, [NotNull] string expression, params object[] values)
+public static LambdaExpression ParseLambda(bool createParameterCtor, ParameterExpression[] parameters, Type resultType, string expression, params object[] values)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(Boolean, Type, Type, String, Object[])
@@ -213,7 +213,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda(bool createParameterCtor, [NotNull] Type itType, [CanBeNull] Type resultType, string expression, params object[] values)
+public static LambdaExpression ParseLambda(bool createParameterCtor, Type itType, Type resultType, string expression, params object[] values)
Parameters
@@ -226,31 +226,31 @@ Parameters
- Boolean
+ 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
+ Type
itType
The main type from the dynamic class expression.
- Type
+ Type
resultType
Type of the result. If not specified, it will be generated dynamically.
- String
+ String
expression
The expression.
- Object []
+ Object []
values
An object array that contains zero or more objects which are used as replacement values.
@@ -267,18 +267,18 @@ Returns
- LambdaExpression
- The generated LambdaExpression
+ LambdaExpression
+ The generated LambdaExpression
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(ParsingConfig, Boolean, ParameterExpression[], Type, String, Object[])
@@ -288,7 +288,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] ParameterExpression[] parameters, [CanBeNull] Type resultType, [NotNull] string expression, params object[] values)
+public static LambdaExpression ParseLambda(ParsingConfig parsingConfig, bool createParameterCtor, ParameterExpression[] parameters, Type resultType, string expression, params object[] values)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(ParsingConfig, Boolean, Type, String, Object[])
@@ -369,7 +369,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [CanBeNull] Type resultType, [NotNull] string expression, params object[] values)
+public static LambdaExpression ParseLambda(ParsingConfig parsingConfig, bool createParameterCtor, Type resultType, string expression, params object[] values)
Parameters
@@ -388,25 +388,25 @@ Parameters
- Boolean
+ 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
+ Type
resultType
Type of the result. If not specified, it will be generated dynamically.
- String
+ String
expression
The expression.
- Object []
+ Object []
values
An object array that contains zero or more objects which are used as replacement values.
@@ -423,18 +423,18 @@ Returns
- LambdaExpression
- The generated LambdaExpression
+ LambdaExpression
+ The generated LambdaExpression
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(ParsingConfig, Boolean, Type, Type, String, Object[])
@@ -444,7 +444,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] Type itType, [CanBeNull] Type resultType, string expression, params object[] values)
+public static LambdaExpression ParseLambda(ParsingConfig parsingConfig, bool createParameterCtor, Type itType, Type resultType, string expression, params object[] values)
Parameters
@@ -463,31 +463,31 @@ Parameters
- Boolean
+ 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
+ Type
itType
The main type from the dynamic class expression.
- Type
+ Type
resultType
Type of the result. If not specified, it will be generated dynamically.
- String
+ String
expression
The expression.
- Object []
+ Object []
values
An object array that contains zero or more objects which are used as replacement values.
@@ -504,18 +504,18 @@ Returns
- LambdaExpression
- The generated LambdaExpression
+ LambdaExpression
+ The generated LambdaExpression
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(ParsingConfig, ParameterExpression[], Type, String, Object[])
@@ -525,7 +525,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, [NotNull] ParameterExpression[] parameters, [CanBeNull] Type resultType, string expression, params object[] values)
+public static LambdaExpression ParseLambda(ParsingConfig parsingConfig, ParameterExpression[] parameters, Type resultType, string expression, params object[] values)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(ParsingConfig, Type, String, Object[])
@@ -600,7 +600,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, [CanBeNull] Type resultType, [NotNull] string expression, params object[] values)
+public static LambdaExpression ParseLambda(ParsingConfig parsingConfig, Type resultType, string expression, params object[] values)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(ParsingConfig, Type, Type, String, Object[])
@@ -669,7 +669,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([CanBeNull] ParsingConfig parsingConfig, [NotNull] Type itType, [CanBeNull] Type resultType, string expression, params object[] values)
+public static LambdaExpression ParseLambda(ParsingConfig parsingConfig, Type itType, Type resultType, string expression, params object[] values)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(ParameterExpression[], Type, String, Object[])
@@ -744,7 +744,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([NotNull] ParameterExpression[] parameters, [CanBeNull] Type resultType, string expression, params object[] values)
+public static LambdaExpression ParseLambda(ParameterExpression[] parameters, Type resultType, string expression, params object[] values)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
+
+
+ ParseLambda(Type, ParsingConfig, Boolean, ParameterExpression[], Type, String, Object[])
+ Parses an expression into a LambdaExpression.
+
+
+ Declaration
+
+
[PublicAPI]
+public static LambdaExpression ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, ParameterExpression[] parameters, Type resultType, string expression, params object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ delegateType
+ The delegate type.
+
+
+
+ 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
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda(Type, ParsingConfig, Boolean, Type, String, Object[])
+ Parses an expression into a LambdaExpression.
+
+
+ Declaration
+
+
[PublicAPI]
+public static LambdaExpression ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, Type resultType, string expression, params object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ delegateType
+ The delegate type.
+
+
+
+ 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
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda(Type, ParsingConfig, Boolean, Type, Type, String, Object[])
+ Parses an expression into a LambdaExpression.
+
+
+ Declaration
+
+
[PublicAPI]
+public static LambdaExpression ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, Type itType, Type resultType, string expression, params object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ delegateType
+ The delegate type.
+
+
+
+ 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
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda(Type, 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(Type delegateType, ParsingConfig parsingConfig, ParameterExpression[] parameters, Type resultType, string expression, params object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ delegateType
+ The delegate type.
+
+
+
+ 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
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda(Type, 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(Type delegateType, ParsingConfig parsingConfig, Type resultType, string expression, params object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ delegateType
+ The delegate type.
+
+
+
+ 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
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda(Type, 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(Type delegateType, ParsingConfig parsingConfig, Type itType, Type resultType, string expression, params object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ delegateType
+ The delegate type.
+
+
+
+ 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
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda(Type, 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(Type delegateType, ParameterExpression[] parameters, Type resultType, string expression, params object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ delegateType
+ The delegate type.
+
+
+
+ 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
+
+
+ |
+ Improve this Doc
+
+
+ View Source
ParseLambda(Type, String, Object[])
@@ -813,7 +1380,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([CanBeNull] Type resultType, [NotNull] string expression, params object[] values)
+public static LambdaExpression ParseLambda(Type resultType, string expression, params object[] values)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda(Type, Type, String, Object[])
@@ -876,7 +1443,7 @@ Declaration
[PublicAPI]
-public static LambdaExpression ParseLambda([NotNull] Type itType, [CanBeNull] Type resultType, string expression, params object[] values)
+public static LambdaExpression ParseLambda(Type itType, Type resultType, string expression, params object[] values)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda<TResult>(ParsingConfig, Boolean, ParameterExpression[], String, Object[])
@@ -945,7 +1512,7 @@ Declaration
[PublicAPI]
-public static Expression<Func<TResult>> ParseLambda<TResult>([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] ParameterExpression[] parameters, [NotNull] string expression, params object[] values)
+public static Expression<Func<TResult>> ParseLambda<TResult>(ParsingConfig parsingConfig, bool createParameterCtor, ParameterExpression[] parameters, string expression, params object[] values)
Parameters
@@ -964,25 +1531,25 @@ Parameters
- Boolean
+ 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 []
+ ParameterExpression []
parameters
A array from ParameterExpressions.
- String
+ String
expression
The expression.
- Object []
+ Object []
values
An object array that contains zero or more objects which are used as replacement values.
@@ -999,8 +1566,8 @@ Returns
- Expression <Func <TResult>>
- The generated Expression
+ Expression <Func <TResult>>
+ The generated Expression
@@ -1023,10 +1590,10 @@ Type Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda<TResult>(ParsingConfig, Boolean, String, Object[])
@@ -1036,7 +1603,189 @@ Declaration
[PublicAPI]
-public static Expression<Func<TResult>> ParseLambda<TResult>([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] string expression, params object[] values)
+public static Expression<Func<TResult>> ParseLambda<TResult>(ParsingConfig parsingConfig, bool createParameterCtor, 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 Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ TResult
+ The type of the result.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda<TResult>(Type, ParsingConfig, Boolean, ParameterExpression[], String, Object[])
+ Parses an expression into a Typed Expression.
+
+
+ Declaration
+
+
[PublicAPI]
+public static Expression<Func<TResult>> ParseLambda<TResult>(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, ParameterExpression[] parameters, string expression, params object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Type
+ delegateType
+ The delegate type.
+
+
+
+ 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 Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ TResult
+ The type of the result.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda<TResult>(Type, ParsingConfig, Boolean, String, Object[])
+ Parses an expression into a Typed Expression.
+
+
+ Declaration
+
+
[PublicAPI]
+public static Expression<Func<TResult>> ParseLambda<TResult>(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, string expression, params object[] values)
Parameters
@@ -1048,6 +1797,12 @@ Parameters
+
+ Type
+ delegateType
+ The delegate type.
+
+
ParsingConfig
parsingConfig
@@ -1055,19 +1810,19 @@ Parameters
- Boolean
+ 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
+ String
expression
The expression.
- Object []
+ Object []
values
An object array that contains zero or more objects which are used as replacement values.
@@ -1084,8 +1839,8 @@ Returns
- Expression <Func <TResult>>
- The generated Expression
+ Expression <Func <TResult>>
+ The generated Expression
@@ -1108,10 +1863,10 @@ Type Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseLambda<T, TResult>(ParsingConfig, Boolean, String, Object[])
@@ -1121,7 +1876,97 @@ Declaration
[PublicAPI]
-public static Expression<Func<T, TResult>> ParseLambda<T, TResult>([CanBeNull] ParsingConfig parsingConfig, bool createParameterCtor, [NotNull] string expression, params object[] values)
+public static Expression<Func<T, TResult>> ParseLambda<T, TResult>(ParsingConfig parsingConfig, bool createParameterCtor, 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 Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The it
-Type.
+
+
+
+ TResult
+ The type of the result.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseLambda<T, TResult>(Type, ParsingConfig, Boolean, String, Object[])
+ Parses an expression into a Typed Expression.
+
+
+ Declaration
+
+
[PublicAPI]
+public static Expression<Func<T, TResult>> ParseLambda<T, TResult>(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, string expression, params object[] values)
Parameters
@@ -1133,6 +1978,12 @@ Parameters
+
+ Type
+ delegateType
+ The delegate type.
+
+
ParsingConfig
parsingConfig
@@ -1140,19 +1991,19 @@ Parameters
- Boolean
+ 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
+ String
expression
The expression.
- Object []
+ Object []
values
An object array that contains zero or more objects which are used as replacement values.
@@ -1169,8 +2020,8 @@ Returns
- Expression <Func <T, TResult>>
- The generated Expression
+ Expression <Func <T, TResult>>
+ The generated Expression
@@ -1204,15 +2055,16 @@ Type Parameters
diff --git a/docs/api/System.Linq.Dynamic.Core.DynamicProperty.html b/docs/api/System.Linq.Dynamic.Core.DynamicProperty.html
index ddc6dbfd..aa122e67 100644
--- a/docs/api/System.Linq.Dynamic.Core.DynamicProperty.html
+++ b/docs/api/System.Linq.Dynamic.Core.DynamicProperty.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,31 +88,31 @@
Inheritance
-
+
DynamicProperty
Namespace : System.Linq.Dynamic.Core
@@ -125,10 +125,10 @@ Constructors
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
DynamicProperty(String, Type)
@@ -150,13 +150,13 @@ Parameters
- String
+ String
name
The name from the property.
- Type
+ Type
type
The type from the property.
@@ -167,10 +167,10 @@ Properties
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Name
@@ -191,7 +191,7 @@ Property Value
- String
+ String
The name from the property.
@@ -199,10 +199,10 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Type
@@ -223,7 +223,7 @@ Property Value
- Type
+ Type
The type from the property.
@@ -237,15 +237,16 @@ Property Value
diff --git a/docs/api/System.Linq.Dynamic.Core.DynamicQueryableExtensions.html b/docs/api/System.Linq.Dynamic.Core.DynamicQueryableExtensions.html
index 7b7d92fc..f72aca2c 100644
--- a/docs/api/System.Linq.Dynamic.Core.DynamicQueryableExtensions.html
+++ b/docs/api/System.Linq.Dynamic.Core.DynamicQueryableExtensions.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -83,38 +83,38 @@
Class DynamicQueryableExtensions
-
Provides a set of static (Shared in Visual Basic) methods for querying data structures that implement IQueryable .
+
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
-
+
DynamicQueryableExtensions
Namespace : System.Linq.Dynamic.Core
@@ -127,10 +127,10 @@
Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Aggregate(IQueryable, String, String)
@@ -139,7 +139,7 @@
Declaration
-
public static object Aggregate([NotNull] this IQueryable source, [NotNull] string function, [NotNull] string member)
+
public static object Aggregate(this IQueryable source, string function, string member)
Parameters
@@ -152,19 +152,19 @@ Parameters
- IQueryable
+ IQueryable
source
The IQueryable data source.
- String
+ String
function
The name of the function to run. Can be Sum, Average, Min or Max.
- String
+ String
member
The name of the property to aggregate over.
@@ -181,7 +181,7 @@ Returns
- Object
+ Object
The value of the aggregate function run over the specified property.
@@ -189,10 +189,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
All(IQueryable, ParsingConfig, String, Object[])
@@ -202,7 +202,7 @@
Declaration
[PublicAPI]
-public static bool All([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, [CanBeNull] params object[] args)
+public static bool All(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -215,9 +215,9 @@ Parameters
- IQueryable
+ IQueryable
source
- An IQueryable to calculate the All of.
+ A sequence whose elements to test for a condition.
@@ -227,13 +227,13 @@ Parameters
- String
+ String
predicate
- A projection function to apply to each element.
+ A function to test each element for a condition.
- Object []
+ 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.
@@ -250,22 +250,18 @@ Returns
- Boolean
+ Boolean
true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false.
-
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
All(IQueryable, String, Object[])
@@ -275,7 +271,7 @@
Declaration
[PublicAPI]
-public static bool All([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args)
+public static bool All(this IQueryable source, string predicate, params object[] args)
Parameters
@@ -288,19 +284,19 @@ Parameters
- IQueryable
+ IQueryable
source
- An IQueryable to calculate the All of.
+ A sequence whose elements to test for a condition.
- String
+ String
predicate
- A projection function to apply to each element.
+ A function to test each element for a condition.
- Object []
+ 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.
@@ -317,22 +313,18 @@ Returns
- Boolean
+ Boolean
true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false.
-
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Any(IQueryable)
@@ -341,7 +333,7 @@
Declaration
-
public static bool Any([NotNull] this IQueryable source)
+
public static bool Any(this IQueryable source)
Parameters
@@ -354,7 +346,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence to check for being empty.
@@ -371,7 +363,7 @@ Returns
- Boolean
+ Boolean
true if the source sequence contains any elements; otherwise, false.
@@ -383,10 +375,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Any(IQueryable, ParsingConfig, String, Object[])
@@ -396,7 +388,7 @@ Declaration
[PublicAPI]
-public static bool Any([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+public static bool Any(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -409,7 +401,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence to check for being empty.
@@ -421,13 +413,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -444,7 +436,7 @@ Returns
- Boolean
+ Boolean
true if the source sequence contains any elements; otherwise, false.
@@ -458,10 +450,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Any(IQueryable, LambdaExpression)
@@ -470,7 +462,7 @@
Declaration
-
public static bool Any([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
public static bool Any(this IQueryable source, LambdaExpression lambda)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Any(IQueryable, String, Object[])
-
+ Determines whether a sequence contains any elements.
+
Declaration
-
public static bool Any([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args)
+
public static bool Any(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- AsEnumerable(IQueryable)
- Returns the input typed as IEnumerable<T> of Object ./>
+
+
AsDynamicEnumerable(IQueryable)
+
Declaration
-
public static IEnumerable<object> AsEnumerable([NotNull] this IQueryable source)
+
public static IEnumerable<object> AsDynamicEnumerable(this IQueryable source)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Average(IQueryable)
@@ -634,7 +628,7 @@
Declaration
[PublicAPI]
-public static double Average([NotNull] this IQueryable source)
+public static double Average(this IQueryable source)
Parameters
@@ -647,7 +641,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of numeric values to calculate the average of.
@@ -664,7 +658,7 @@ Returns
- Double
+ Double
The average of the values in the sequence.
@@ -677,10 +671,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Average(IQueryable, ParsingConfig, String, Object[])
@@ -690,7 +684,7 @@ Declaration
[PublicAPI]
-public static double Average([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+public static double Average(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -703,7 +697,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of numeric values to calculate the average of.
@@ -715,13 +709,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -738,7 +732,7 @@ Returns
- Double
+ Double
The average of the values in the sequence.
@@ -750,10 +744,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Average(IQueryable, LambdaExpression)
@@ -763,7 +757,7 @@ Declaration
[PublicAPI]
-public static double Average([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+public static double Average(this IQueryable source, LambdaExpression lambda)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Average(IQueryable, String, Object[])
-
+ Computes the average of a sequence of numeric values.
+
Declaration
[PublicAPI]
-public static double Average([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args)
+public static double Average(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Cast(IQueryable, ParsingConfig, String)
- Converts the elements of an IQueryable to the specified type.
+
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)
+
public static IQueryable Cast(this IQueryable source, ParsingConfig config, string typeName)
Parameters
@@ -890,9 +886,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable that contains the elements to be converted.
+ The IQueryable that contains the elements to be converted.
@@ -902,7 +898,7 @@ Parameters
- String
+ String
typeName
The type to convert the elements of source to.
@@ -919,27 +915,27 @@ Returns
- IQueryable
- An IQueryable that contains each element of the source sequence converted to the specified type.
+ IQueryable
+ An IQueryable that contains each element of the source sequence converted to the specified type.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Cast(IQueryable, String)
-
Converts the elements of an IQueryable to the specified type.
+
Converts the elements of an IQueryable to the specified type.
Declaration
-
public static IQueryable Cast([NotNull] this IQueryable source, [NotNull] string typeName)
+
public static IQueryable Cast(this IQueryable source, string typeName)
Parameters
@@ -952,13 +948,13 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable that contains the elements to be converted.
+ The IQueryable that contains the elements to be converted.
- String
+ String
typeName
The type to convert the elements of source to.
@@ -975,27 +971,27 @@ Returns
- IQueryable
- An IQueryable that contains each element of the source sequence converted to the specified type.
+ IQueryable
+ An IQueryable that contains each element of the source sequence converted to the specified type.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Cast(IQueryable, Type)
-
Converts the elements of an IQueryable to the specified type.
+
Converts the elements of an IQueryable to the specified type.
Declaration
-
public static IQueryable Cast([NotNull] this IQueryable source, [NotNull] Type type)
+
public static IQueryable Cast(this IQueryable source, Type type)
Parameters
@@ -1008,13 +1004,13 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable that contains the elements to be converted.
+ The IQueryable that contains the elements to be converted.
- Type
+ Type
type
The type to convert the elements of source to.
@@ -1031,18 +1027,18 @@ Returns
- IQueryable
- An IQueryable that contains each element of the source sequence converted to the specified type.
+ IQueryable
+ An IQueryable that contains each element of the source sequence converted to the specified type.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Count(IQueryable)
@@ -1051,7 +1047,7 @@
Declaration
-
public static int Count([NotNull] this IQueryable source)
+
public static int Count(this IQueryable source)
Parameters
@@ -1064,9 +1060,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable that contains the elements to be counted.
+ The IQueryable that contains the elements to be counted.
@@ -1081,7 +1077,7 @@ Returns
- Int32
+ Int32
The number of elements in the input sequence.
@@ -1093,10 +1089,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Count(IQueryable, ParsingConfig, String, Object[])
@@ -1106,7 +1102,7 @@ Declaration
[PublicAPI]
-public static int Count([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+public static int Count(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -1119,9 +1115,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable that contains the elements to be counted.
+ The IQueryable that contains the elements to be counted.
@@ -1131,13 +1127,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -1154,7 +1150,7 @@ Returns
- Int32
+ Int32
The number of elements in the specified sequence that satisfies a condition.
@@ -1168,10 +1164,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Count(IQueryable, LambdaExpression)
@@ -1180,7 +1176,7 @@
Declaration
-
public static int Count([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
public static int Count(this IQueryable source, LambdaExpression lambda)
Parameters
@@ -1193,13 +1189,13 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable that contains the elements to be counted.
+ The IQueryable that contains the elements to be counted.
- LambdaExpression
+ LambdaExpression
lambda
A cached Lambda Expression.
@@ -1216,7 +1212,7 @@ Returns
- Int32
+ Int32
The number of elements in the specified sequence that satisfies a condition.
@@ -1224,18 +1220,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Count(IQueryable, String, Object[])
-
+ Returns the number of elements in a sequence.
+
Declaration
-
public static int Count([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args)
+
public static int Count(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
DefaultIfEmpty(IQueryable)
@@ -1293,7 +1291,7 @@
Declaration
-
public static IQueryable DefaultIfEmpty([NotNull] this IQueryable source)
+
public static IQueryable DefaultIfEmpty(this IQueryable source)
Parameters
@@ -1306,9 +1304,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return a default value for if empty.
+ The IQueryable to return a default value for if empty.
@@ -1323,8 +1321,8 @@ Returns
- IQueryable
- An IQueryable that contains default if source is empty; otherwise, source.
+ IQueryable
+ An IQueryable that contains default if source is empty; otherwise, source.
@@ -1334,10 +1332,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
DefaultIfEmpty(IQueryable, Object)
@@ -1346,7 +1344,7 @@
Declaration
-
public static IQueryable DefaultIfEmpty([NotNull] this IQueryable source, [CanBeNull] object defaultValue)
+
public static IQueryable DefaultIfEmpty(this IQueryable source, object defaultValue)
Parameters
@@ -1359,13 +1357,13 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return a default value for if empty.
+ The IQueryable to return a default value for if empty.
- Object
+ Object
defaultValue
The value to return if the sequence is empty.
@@ -1382,8 +1380,8 @@ Returns
- IQueryable
- An IQueryable that contains defaultValue if source is empty; otherwise, source.
+ IQueryable
+ An IQueryable that contains defaultValue if source is empty; otherwise, source.
@@ -1393,10 +1391,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Distinct(IQueryable)
@@ -1405,7 +1403,7 @@
Declaration
-
public static IQueryable Distinct([NotNull] this IQueryable source)
+
public static IQueryable Distinct(this IQueryable source)
Parameters
@@ -1418,7 +1416,7 @@ Parameters
- IQueryable
+ IQueryable
source
The sequence to remove duplicate elements from.
@@ -1435,8 +1433,8 @@ Returns
- IQueryable
- An IQueryable that contains distinct elements from the source sequence.
+ IQueryable
+ An IQueryable that contains distinct elements from the source sequence.
@@ -1448,10 +1446,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
First(IQueryable)
@@ -1460,7 +1458,7 @@
Declaration
-
public static object First([NotNull] this IQueryable source)
+
public static object First(this IQueryable source)
Parameters
@@ -1473,9 +1471,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the first element of.
+ The IQueryable to return the first element of.
@@ -1490,7 +1488,7 @@ Returns
- Object
+ Object
The first element in source.
@@ -1498,10 +1496,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
First(IQueryable, ParsingConfig, String, Object[])
@@ -1511,7 +1509,7 @@ Declaration
[PublicAPI]
-public static object First([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+public static object First(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -1524,9 +1522,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the first element of.
+ The IQueryable to return the first element of.
@@ -1536,13 +1534,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -1559,7 +1557,7 @@ Returns
- Object
+ Object
The first element in source that passes the test in predicate.
@@ -1567,10 +1565,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
First(IQueryable, LambdaExpression)
@@ -1579,7 +1577,7 @@
Declaration
-
public static object First([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
public static object First(this IQueryable source, LambdaExpression lambda)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
First(IQueryable, String, Object[])
-
+ Returns the first element of a sequence that satisfies a specified condition.
+
Declaration
-
public static object First([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args)
+
public static object First(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
FirstOrDefault(IQueryable)
@@ -1692,7 +1692,7 @@
Declaration
-
public static object FirstOrDefault([NotNull] this IQueryable source)
+
public static object FirstOrDefault(this IQueryable source)
Parameters
@@ -1705,9 +1705,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the first element of.
+ The IQueryable to return the first element of.
@@ -1722,7 +1722,7 @@ Returns
- Object
+ Object
default if source is empty; otherwise, the first element in source.
@@ -1730,10 +1730,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
FirstOrDefault(IQueryable, ParsingConfig, String, Object[])
@@ -1743,7 +1743,7 @@ Declaration
[PublicAPI]
-public static object FirstOrDefault([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+public static object FirstOrDefault(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -1756,9 +1756,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the first element of.
+ The IQueryable to return the first element of.
@@ -1768,13 +1768,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -1791,7 +1791,7 @@ Returns
- Object
+ 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.
@@ -1799,10 +1799,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
FirstOrDefault(IQueryable, LambdaExpression)
@@ -1811,7 +1811,7 @@
Declaration
-
public static object FirstOrDefault([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
public static object FirstOrDefault(this IQueryable source, LambdaExpression lambda)
Parameters
@@ -1824,13 +1824,13 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the first element of.
+ The IQueryable to return the first element of.
- LambdaExpression
+ LambdaExpression
lambda
A cached Lambda Expression.
@@ -1847,7 +1847,7 @@ Returns
- Object
+ 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.
@@ -1855,18 +1855,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
FirstOrDefault(IQueryable, 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
-
public static object FirstOrDefault([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args)
+
public static object FirstOrDefault(this IQueryable source, string predicate, params object[] args)
Parameters
@@ -1879,17 +1880,17 @@ Parameters
- IQueryable
+ IQueryable
source
- String
+ String
predicate
- Object []
+ Object []
args
@@ -1905,28 +1906,28 @@ Returns
- Object
-
+ 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
+ Improve this Doc
- View Source
+ View Source
- GroupBy(IQueryable, ParsingConfig, String, Object[])
+ GroupBy(IQueryable, ParsingConfig, String, IEqualityComparer, 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)
+
public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, IEqualityComparer equalityComparer, params object[] args)
Parameters
@@ -1939,9 +1940,9 @@ Parameters
- IQueryable
+ IQueryable
source
- A IQueryable whose elements to group.
+ A IQueryable whose elements to group.
@@ -1951,13 +1952,19 @@ Parameters
- String
+ String
keySelector
A string expression to specify the key for each element.
- Object []
+ IEqualityComparer
+ equalityComparer
+ The comparer to use.
+
+
+
+ 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.
@@ -1974,32 +1981,29 @@ Returns
- IQueryable
- A IQueryable where each element represents a projection over a group and its key.
+ 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
+ Improve this Doc
- View Source
+ View Source
- GroupBy(IQueryable, ParsingConfig, String, String)
+ 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
-
public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string keySelector, [NotNull] string resultSelector)
+
[PublicAPI]
+public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, params object[] args)
Parameters
@@ -2012,9 +2016,9 @@ Parameters
- IQueryable
+ IQueryable
source
- A IQueryable whose elements to group.
+ A IQueryable whose elements to group.
@@ -2024,15 +2028,15 @@ Parameters
- String
+ 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.
@@ -2047,33 +2051,32 @@ Returns
- IQueryable
- A IQueryable where each element represents a projection over a group and its key.
+ 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)");
+ Examples
+ var groupResult1 = queryable.GroupBy("NumberPropertyAsKey");
+var groupResult2 = queryable.GroupBy("new (NumberPropertyAsKey, StringPropertyAsKey)");
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- GroupBy(IQueryable, ParsingConfig, String, String, Object[])
+ 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
-
[PublicAPI]
-public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string keySelector, [NotNull] string resultSelector, object[] args)
+
public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, string resultSelector)
Parameters
@@ -2086,9 +2089,9 @@ Parameters
- IQueryable
+ IQueryable
source
- A IQueryable whose elements to group.
+ A IQueryable whose elements to group.
@@ -2098,21 +2101,15 @@ Parameters
- String
+ String
keySelector
A string expression to specify the key for each element.
- String
+ 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.
@@ -2127,31 +2124,32 @@ Returns
- IQueryable
- A IQueryable where each element represents a projection over a group and its key.
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
- Examples
+ Examples
var groupResult1 = queryable.GroupBy("NumberPropertyAsKey", "StringProperty");
var groupResult2 = queryable.GroupBy("new (NumberPropertyAsKey, StringPropertyAsKey)", "new (StringProperty1, StringProperty2)");
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- GroupBy(IQueryable, String, Object[])
-
+ GroupBy(IQueryable, ParsingConfig, String, String, IEqualityComparer)
+ 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] string keySelector, [CanBeNull] params object[] args)
+
public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, string resultSelector, IEqualityComparer equalityComparer)
Parameters
@@ -2190,25 +2203,28 @@ Returns
- IQueryable
-
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- GroupBy(IQueryable, String, String)
-
+ GroupBy(IQueryable, ParsingConfig, String, String, IEqualityComparer, 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
-
public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] string keySelector, [NotNull] string resultSelector)
+
public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, string resultSelector, IEqualityComparer equalityComparer, object[] args)
Parameters
@@ -2221,19 +2237,40 @@ Parameters
- IQueryable
+ IQueryable
source
-
+ A IQueryable whose elements to group.
+
+
+
+ ParsingConfig
+ config
+ The ParsingConfig .
+
- String
+ String
keySelector
-
+ A string expression to specify the key for each element.
+
- String
+ String
resultSelector
-
+ A string expression to specify a result value from each group.
+
+
+
+ IEqualityComparer
+ equalityComparer
+ The comparer to use.
+
+
+
+ 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.
+
@@ -2247,26 +2284,29 @@ Returns
- IQueryable
-
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- GroupBy(IQueryable, String, String, Object[])
-
+ 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] string keySelector, [NotNull] string resultSelector, object[] args)
+public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, string resultSelector, object[] args)
Parameters
@@ -2279,24 +2319,34 @@ Parameters
- IQueryable
+ IQueryable
source
-
+ A IQueryable whose elements to group.
+
+
+
+ ParsingConfig
+ config
+ The ParsingConfig .
+
- String
+ String
keySelector
-
+ A string expression to specify the key for each element.
+
- String
+ String
resultSelector
-
+ A string expression to specify a result value from each group.
+
- Object []
+ 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.
+
@@ -2310,27 +2360,32 @@ Returns
- IQueryable
-
+ 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
+ Improve this Doc
- View Source
+ 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.
+
+
GroupBy(IQueryable, String, IEqualityComparer, 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
-
public static IEnumerable<GroupResult> GroupByMany<TElement>([NotNull] this IEnumerable<TElement> source, params Func<TElement, object>[] keySelectors)
+
public static IQueryable GroupBy(this IQueryable source, string keySelector, IEqualityComparer equalityComparer, params object[] args)
Parameters
@@ -2343,66 +2398,60 @@ Parameters
- IEnumerable <TElement>
+ IQueryable
source
- A IEnumerable<T> whose elements to group.
-
+
- Func <TElement, Object >[]
- keySelectors
- Lambda expressions to specify the keys for each element.
-
+ String
+ keySelector
+
-
-
-
Returns
-
-
Type Parameters
+
Returns
- Name
+ Type
Description
- TElement
-
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
+
GroupBy(IQueryable, 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
-
public static IEnumerable<GroupResult> GroupByMany<TElement>([NotNull] this IEnumerable<TElement> source, [NotNull] ParsingConfig config, params string[] keySelectors)
+
[PublicAPI]
+public static IQueryable GroupBy(this IQueryable source, string keySelector, params object[] args)
Parameters
@@ -2444,41 +2490,28 @@
Returns
- IEnumerable <GroupResult >
- A IEnumerable<T> of type GroupResult where each element represents a projection over a group, its key, and its subgroups.
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
- Type Parameters
-
-
-
- Name
- Description
-
-
-
-
- TElement
-
-
-
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- GroupByMany<TElement>(IEnumerable<TElement>, String[])
-
+
+ GroupBy(IQueryable, 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 IEnumerable<GroupResult> GroupByMany<TElement>([NotNull] this IEnumerable<TElement> source, params string[] keySelectors)
+
public static IQueryable GroupBy(this IQueryable source, string keySelector, string resultSelector)
Parameters
- Returns
-
- Type Parameters
+ Returns
- Name
+ Type
Description
- TElement
-
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- GroupJoin(IQueryable, IEnumerable, String, String, String, Object[])
-
+
+ GroupBy(IQueryable, String, String, IEqualityComparer)
+ 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 GroupJoin([NotNull] this IQueryable outer, [NotNull] IEnumerable inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, [NotNull] string resultSelector, params object[] args)
+
public static IQueryable GroupBy(this IQueryable source, string keySelector, string resultSelector, IEqualityComparer equalityComparer)
Parameters
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ GroupBy(IQueryable, String, String, IEqualityComparer, 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
+
+
public static IQueryable GroupBy(this IQueryable source, string keySelector, string resultSelector, IEqualityComparer equalityComparer, object[] args)
+
+ Parameters
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ GroupBy(IQueryable, 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(this IQueryable source, string keySelector, string resultSelector, object[] args)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IQueryable
+ source
+
+
+
+ String
+ keySelector
+
+
+
+ String
+ resultSelector
+
+
+
+ Object []
+ args
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ IQueryable
+ A IQueryable where each element represents a projection over a group and its key.
+
+
+
+
+
+ |
+ 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>(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 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>(this IEnumerable<TElement> source, ParsingConfig config, params string[] keySelectors)
+
+ Parameters
+
+ Returns
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ TElement
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ GroupByMany<TElement>(IEnumerable<TElement>, 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>(this IEnumerable<TElement> source, params string[] keySelectors)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IEnumerable <TElement>
+ source
+
+
+
+ String []
+ keySelectors
+
+
+
+
+ Returns
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ TElement
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ GroupJoin(IQueryable, 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(this IQueryable outer, IEnumerable inner, string outerKeySelector, string innerKeySelector, string resultSelector, params object[] args)
+
+ Parameters
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ IQueryable
+ An IQueryable obtained by performing a grouped join on two sequences.
+
+
+
+
+
+ |
+ 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(this IQueryable outer, ParsingConfig config, IEnumerable inner, string outerKeySelector, string innerKeySelector, 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[])
+ Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
+
+
+ Declaration
+
+
public static IQueryable Join(this IQueryable outer, IEnumerable inner, string outerKeySelector, string innerKeySelector, string resultSelector, params object[] args)
+
+ Parameters
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ IQueryable
+ An IQueryable obtained by performing an inner join on two sequences.
+
+
+
+
+
+ |
+ 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(this IQueryable outer, ParsingConfig config, IEnumerable inner, string outerKeySelector, string innerKeySelector, 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[])
+ 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>(this IQueryable<TElement> outer, IEnumerable<TElement> inner, string outerKeySelector, 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>
+ 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.
+
+
+
+
+
+
+
+ |
+ 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>(this IQueryable<TElement> outer, ParsingConfig config, IEnumerable<TElement> inner, string outerKeySelector, 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.
+
+
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Last(IQueryable)
+ Returns the last element of a sequence.
+
+
+ Declaration
+
+
public static object Last(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(this IQueryable source, ParsingConfig config, 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(this IQueryable source, 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[])
+ Returns the last element of a sequence that satisfies a specified condition.
+
+
+ Declaration
+
+
public static object Last(this IQueryable source, string predicate, params object[] args)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IQueryable
+ source
+
+
+
+ String
+ predicate
- Object []
+ Object []
args
@@ -2599,26 +3722,27 @@ Returns
- IQueryable
-
+ Object
+ The first element in source that passes the test in predicate.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
+
LastOrDefault(IQueryable)
+
Returns the last element of a sequence, or a default value if the sequence contains no elements.
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)
+
public static object LastOrDefault(this IQueryable source)
Parameters
@@ -2631,9 +3755,59 @@ Parameters
- IQueryable
- outer
- The first sequence to join.
+ 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(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
+
+
Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IQueryable
+ source
+ The IQueryable to return the last element of.
@@ -2643,34 +3817,131 @@ Parameters
- IEnumerable
- inner
- The sequence to join to the first sequence.
+ String
+ predicate
+ A function to test each element for a condition.
- String
- outerKeySelector
- A dynamic function to extract the join key from each element of the first sequence.
+ 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
+
+
+
- String
- innerKeySelector
- A dynamic function to extract the join key from each element of the second sequence.
+ 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(this IQueryable source, LambdaExpression lambda)
+
+
Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IQueryable
+ source
+ The IQueryable to return the last element of.
- 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.
+ 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[])
+
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(this IQueryable source, string predicate, params object[] args)
+
+
Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IQueryable
+ source
+
+
+
+ String
+ predicate
+
+
- Object []
+ 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.
-
+
@@ -2684,26 +3955,27 @@
Returns
- IQueryable
- An IQueryable obtained by performing a grouped join on two sequences.
+ Object
+ The first element in source that passes the test in predicate.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
Join(IQueryable, IEnumerable, String, String, String, Object[])
-
+
+
LongCount(IQueryable)
+
Returns the number of elements in a sequence.
+
Declaration
-
public static IQueryable Join([NotNull] this IQueryable outer, [NotNull] IEnumerable inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, [NotNull] string resultSelector, params object[] args)
+
public static long LongCount(this IQueryable source)
Parameters
@@ -2757,26 +4005,32 @@
Returns
- IQueryable
-
+ Int64
+ The number of elements in the input sequence.
+
+ Examples
+ IQueryable queryable = employees.AsQueryable();
+var result = queryable.LongCount();
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
+
LongCount(IQueryable, ParsingConfig, String, Object[])
+
Returns the number of elements in a sequence.
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)
+
[PublicAPI]
+public static long LongCount(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -2789,9 +4043,9 @@ Parameters
- IQueryable
- outer
- The first sequence to join.
+ IQueryable
+ source
+ The IQueryable that contains the elements to be counted.
@@ -2801,33 +4055,15 @@ Parameters
- 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.
+ String
+ predicate
+ A function to test each element for a condition.
- Object []
+ 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.
+ An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.
@@ -2842,26 +4078,33 @@ Returns
- IQueryable
- An IQueryable obtained by performing an inner join on two sequences.
+ 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
+ Improve this Doc
- View Source
+ View Source
-
-
Join<TElement>(IQueryable<TElement>, IEnumerable<TElement>, String, String, String, Object[])
-
+
+
LongCount(IQueryable, LambdaExpression)
+
Returns the number of elements in a sequence.
+
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)
+
public static long LongCount(this IQueryable source, LambdaExpression lambda)
Parameters
@@ -2915,41 +4140,27 @@
Returns
- IQueryable <TElement>
-
-
-
-
-
Type Parameters
-
-
-
- Name
- Description
-
-
-
-
- TElement
-
+ Int64
+ The number of elements in the specified sequence that satisfies a condition.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
+
LongCount(IQueryable, String, Object[])
+
Returns the number of elements in a sequence.
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)
+
public static long LongCount(this IQueryable source, string predicate, params object[] args)
Parameters
@@ -2962,46 +4173,19 @@ Parameters
- 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.
-
+ IQueryable
+ source
+
- String
- resultSelector
- A dynamic function to create a result element from two matching elements.
-
+ String
+ predicate
+
- Object []
+ 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.
-
+
@@ -3015,46 +4199,28 @@
Returns
- 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.
+ Int64
+ The number of elements in the specified sequence that satisfies a condition.
-
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- Last(IQueryable)
- Returns the last element of a sequence.
+
+
Max(IQueryable)
+
Computes the max element of a sequence.
Declaration
-
public static object Last([NotNull] this IQueryable source)
+
[PublicAPI]
+public static object Max(this IQueryable source)
Parameters
@@ -3067,9 +4233,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the last element of.
+ A sequence of values to calculate find the max for.
@@ -3084,27 +4250,33 @@ Returns
- Object
- The last element in source.
+ Object
+ The max element in the sequence.
+
Examples
+
IQueryable queryable = employees.AsQueryable();
+var result1 = queryable.Max();
+var result2 = queryable.Select("Roles.Max()");
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
Last(IQueryable, ParsingConfig, String, Object[])
-
Returns the last element of a sequence that satisfies a specified condition.
+
+
Max(IQueryable, ParsingConfig, String, Object[])
+
Computes the max element of a sequence.
Declaration
-
public static object Last([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+
[PublicAPI]
+public static object Max(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -3117,9 +4289,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the last element of.
+ A sequence of values to calculate find the max for.
@@ -3129,13 +4301,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -3152,27 +4324,32 @@ Returns
- Object
- The first element in source that passes the test in predicate.
+ Object
+ The max element in the sequence.
+
Examples
+
IQueryable queryable = employees.AsQueryable();
+var result = queryable.Max("Income");
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
Last(IQueryable, LambdaExpression)
-
Returns the last element of a sequence that satisfies a specified condition.
+
+
Max(IQueryable, LambdaExpression)
+
Computes the max element of a sequence.
Declaration
-
public static object Last([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
[PublicAPI]
+public static object Max(this IQueryable source, LambdaExpression lambda)
Parameters
@@ -3185,15 +4362,15 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the last element of.
+ A sequence of values to calculate find the max for.
- LambdaExpression
+ LambdaExpression
lambda
- A cached Lambda Expression.
+ A Lambda Expression.
@@ -3208,26 +4385,28 @@ Returns
- Object
- The first element in source that passes the test in predicate.
+ Object
+ The max element in the sequence.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
Last(IQueryable, String, Object[])
-
+
+
Max(IQueryable, String, Object[])
+
Computes the max element of a sequence.
+
Declaration
-
public static object Last([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args)
+
[PublicAPI]
+public static object Max(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
LastOrDefault(IQueryable)
-
Returns the last element of a sequence, or a default value if the sequence contains no elements.
+
+
Min(IQueryable)
+
Computes the min element of a sequence.
Declaration
-
public static object LastOrDefault([NotNull] this IQueryable source)
+
[PublicAPI]
+public static object Min(this IQueryable source)
Parameters
@@ -3298,9 +4479,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the last element of.
+ A sequence of values to calculate find the min for.
@@ -3315,27 +4496,33 @@ Returns
- Object
- default if source is empty; otherwise, the last element in source.
+ Object
+ The min element in the sequence.
+
Examples
+
IQueryable queryable = employees.AsQueryable();
+var result1 = queryable.Min();
+var result2 = queryable.Select("Roles.Min()");
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
+
Min(IQueryable, ParsingConfig, String, Object[])
+
Computes the min element of a sequence.
Declaration
-
public static object LastOrDefault([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+
[PublicAPI]
+public static object Min(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -3348,9 +4535,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the last element of.
+ A sequence of values to calculate find the min for.
@@ -3360,13 +4547,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -3383,27 +4570,32 @@ Returns
- Object
- The first element in source that passes the test in predicate.
+ Object
+ The min element in the sequence.
+
Examples
+
IQueryable queryable = employees.AsQueryable();
+var result = queryable.Min("Income");
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
+
Min(IQueryable, LambdaExpression)
+
Computes the min element of a sequence.
Declaration
-
public static object LastOrDefault([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
[PublicAPI]
+public static object Min(this IQueryable source, LambdaExpression lambda)
Parameters
@@ -3416,15 +4608,15 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the last element of.
+ A sequence of values to calculate find the min for.
- LambdaExpression
+ LambdaExpression
lambda
- A cached Lambda Expression.
+ A Lambda Expression.
@@ -3439,26 +4631,28 @@ Returns
- Object
- The first element in source that passes the test in predicate.
+ Object
+ The min element in the sequence.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
LastOrDefault(IQueryable, String, Object[])
-
+
+
Min(IQueryable, String, Object[])
+
Computes the min element of a sequence.
+
Declaration
-
public static object LastOrDefault([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args)
+
[PublicAPI]
+public static object Min(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
LongCount(IQueryable)
-
Returns the number of elements in a sequence.
+
+
OfType(IQueryable, ParsingConfig, String)
+
Filters the elements of an IQueryable based on a specified type.
Declaration
-
public static long LongCount([NotNull] this IQueryable source)
+
public static IQueryable OfType(this IQueryable source, ParsingConfig config, string typeName)
Parameters
@@ -3526,12 +4721,24 @@ Parameters
Name
Description
-
-
+
+
+
+ IQueryable
+ source
+ An IQueryable whose elements to filter.
+
+
+
+ ParsingConfig
+ config
+ The ParsingConfig .
+
+
- IQueryable
- source
- The IQueryable that contains the elements to be counted.
+ String
+ typeName
+ The type to filter the elements of the sequence on.
@@ -3546,32 +4753,27 @@ Returns
- Int64
- The number of elements in the input sequence.
+ IQueryable
+ A collection that contains the elements from source that have the type.
-
Examples
-
IQueryable queryable = employees.AsQueryable();
-var result = queryable.LongCount();
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
LongCount(IQueryable, ParsingConfig, String, Object[])
-
Returns the number of elements in a sequence.
+
+
OfType(IQueryable, String)
+
Filters the elements of an IQueryable based on a specified type.
Declaration
-
[PublicAPI]
-public static long LongCount([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+
public static IQueryable OfType(this IQueryable source, string typeName)
Parameters
@@ -3584,27 +4786,15 @@ Parameters
- IQueryable
+ 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.
+ An IQueryable whose elements to filter.
- 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.
+ String
+ typeName
+ The type to filter the elements of the sequence on.
@@ -3619,33 +4809,27 @@ Returns
- Int64
- The number of elements in the specified sequence that satisfies a condition.
+ IQueryable
+ A collection that contains the elements from source that have the type.
-
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
+ Improve this Doc
- View Source
+ View Source
-
-
LongCount(IQueryable, LambdaExpression)
-
Returns the number of elements in a sequence.
+
+
OfType(IQueryable, Type)
+
Filters the elements of an IQueryable based on a specified type.
Declaration
-
public static long LongCount([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
public static IQueryable OfType(this IQueryable source, Type type)
Parameters
@@ -3658,15 +4842,15 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable that contains the elements to be counted.
+ An IQueryable whose elements to filter.
- LambdaExpression
- lambda
- A cached Lambda Expression.
+ Type
+ type
+ The type to filter the elements of the sequence on.
@@ -3681,26 +4865,27 @@ Returns
- Int64
- The number of elements in the specified sequence that satisfies a condition.
+ IQueryable
+ A collection that contains the elements from source that have the type.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
LongCount(IQueryable, String, Object[])
-
+
+
OrderBy(IQueryable, ParsingConfig, String, IComparer, Object[])
+
Sorts the elements of a sequence in ascending or descending order according to a key.
+
Declaration
-
public static long LongCount([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args)
+
public static IOrderedQueryable OrderBy(this IQueryable source, ParsingConfig config, string ordering, IComparer comparer, params object[] args)
Parameters
@@ -3713,19 +4898,34 @@ Parameters
- IQueryable
+ IQueryable
source
-
+ A sequence of values to order.
+
- String
- predicate
-
+ ParsingConfig
+ config
+ The ParsingConfig .
+
+
+
+ String
+ ordering
+ An expression string to indicate values to order by.
+
+
+
+ IComparer
+ comparer
+ The comparer to use.
+
- Object []
+ 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.
+
@@ -3739,26 +4939,27 @@
Returns
- Int64
-
+ IOrderedQueryable
+ A IQueryable whose elements are sorted according to the specified ordering
.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- OfType(IQueryable, ParsingConfig, String)
- Filters the elements of an IQueryable based on a specified type.
+
+
OrderBy(IQueryable, ParsingConfig, String, Object[])
+
Sorts the elements of a sequence in ascending or descending order according to a key.
Declaration
-
public static IQueryable OfType([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string typeName)
+
public static IOrderedQueryable OrderBy(this IQueryable source, ParsingConfig config, string ordering, params object[] args)
Parameters
@@ -3771,9 +4972,9 @@ Parameters
- IQueryable
+ IQueryable
source
- An IQueryable whose elements to filter.
+ A sequence of values to order.
@@ -3783,9 +4984,15 @@ Parameters
- String
- typeName
- The type to filter the elements of the sequence on.
+ 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.
@@ -3800,27 +5007,32 @@ Returns
- IQueryable
- A collection that contains the elements from source that have the type.
+ 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
+ Improve this Doc
- View Source
+ View Source
-
-
OfType(IQueryable, String)
-
Filters the elements of an IQueryable based on a specified type.
+
+
OrderBy(IQueryable, String, IComparer, Object[])
+
Sorts the elements of a sequence in ascending or descending order according to a key.
Declaration
-
public static IQueryable OfType([NotNull] this IQueryable source, [NotNull] string typeName)
+
public static IOrderedQueryable OrderBy(this IQueryable source, string ordering, IComparer comparer, params object[] args)
Parameters
@@ -3856,27 +5076,27 @@
Returns
- IQueryable
- A collection that contains the elements from source that have the type.
+ IOrderedQueryable
+ A IQueryable whose elements are sorted according to the specified ordering
.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
-
OfType(IQueryable, Type)
-
Filters the elements of an IQueryable based on a specified type.
+
+
OrderBy(IQueryable, String, Object[])
+
Sorts the elements of a sequence in ascending or descending order according to a key.
Declaration
-
public static IQueryable OfType([NotNull] this IQueryable source, [NotNull] Type type)
+
public static IOrderedQueryable OrderBy(this IQueryable source, string ordering, params object[] args)
Parameters
@@ -3912,27 +5135,27 @@
Returns
- IQueryable
- A collection that contains the elements from source that have the type.
+ IOrderedQueryable
+ A IQueryable whose elements are sorted according to the specified ordering
.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- OrderBy(IQueryable, ParsingConfig, String, Object[])
+ OrderBy<TSource>(IQueryable<TSource>, ParsingConfig, String, IComparer, 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)
+
public static IOrderedQueryable<TSource> OrderBy<TSource>(this IQueryable<TSource> source, ParsingConfig config, string ordering, IComparer comparer, params object[] args)
Parameters
@@ -3945,7 +5168,7 @@ Parameters
- IQueryable
+ IQueryable <TSource>
source
A sequence of values to order.
@@ -3957,15 +5180,21 @@ Parameters
- String
+ String
ordering
An expression string to indicate values to order by.
- Object []
+ IComparer
+ comparer
+ The comparer to use.
+
+
+
+ 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.
+ An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.
@@ -3980,31 +5209,43 @@ Returns
- IOrderedQueryable
- A IQueryable whose elements are sorted according to the specified ordering
.
+ 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("NumberProperty");
-var resultSingleDescending = queryable.OrderBy("NumberProperty DESC");
-var resultMultiple = queryable.OrderBy("NumberProperty, StringProperty DESC");
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- OrderBy(IQueryable, String, Object[])
-
+ 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 OrderBy([NotNull] this IQueryable source, [NotNull] string ordering, params object[] args)
+
public static IOrderedQueryable<TSource> OrderBy<TSource>(this IQueryable<TSource> source, ParsingConfig config, string ordering, params object[] args)
Parameters
@@ -4017,19 +5258,28 @@ Parameters
- IQueryable
+ IQueryable <TSource>
source
-
+ A sequence of values to order.
+
+
+
+ ParsingConfig
+ config
+ The ParsingConfig .
+
- String
+ String
ordering
-
+ An expression string to indicate values to order by.
+
- Object []
+ 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.
+
@@ -4043,26 +5293,48 @@ Returns
- IOrderedQueryable
-
+ 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
+ Improve this Doc
- View Source
+ View Source
- OrderBy<TSource>(IQueryable<TSource>, ParsingConfig, String, Object[])
+ OrderBy<TSource>(IQueryable<TSource>, String, IComparer, 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)
+
public static IOrderedQueryable<TSource> OrderBy<TSource>(this IQueryable<TSource> source, string ordering, IComparer comparer, params object[] args)
Parameters
@@ -4075,25 +5347,25 @@ Parameters
- IQueryable <TSource>
+ IQueryable <TSource>
source
A sequence of values to order.
- ParsingConfig
- config
- The ParsingConfig .
+ String
+ ordering
+ An expression string to indicate values to order by.
- String
- ordering
- An expression string to indicate values to order by.
+ IComparer
+ comparer
+ The comparer to use.
- Object []
+ 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.
@@ -4110,8 +5382,8 @@ Returns
- IOrderedQueryable <TSource>
- A IQueryable<T> whose elements are sorted according to the specified ordering
.
+ IOrderedQueryable <TSource>
+ A IQueryable<T> whose elements are sorted according to the specified ordering
.
@@ -4132,25 +5404,21 @@ Type Parameters
- Examples
- var resultSingle = queryable.OrderBy<User>("NumberProperty");
-var resultSingleDescending = queryable.OrderBy<User>("NumberProperty DESC");
-var resultMultiple = queryable.OrderBy<User>("NumberProperty, StringProperty");
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
OrderBy<TSource>(IQueryable<TSource>, 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] string ordering, params object[] args)
+
public static IOrderedQueryable<TSource> OrderBy<TSource>(this IQueryable<TSource> source, string ordering, params object[] args)
Parameters
@@ -4205,16 +5474,17 @@ Type Parameters
TSource
-
+ The type of the elements of source.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Page(IQueryable, Int32, Int32)
@@ -4223,7 +5493,7 @@
Declaration
-
public static IQueryable Page([NotNull] this IQueryable source, int page, int pageSize)
+
public static IQueryable Page(this IQueryable source, int page, int pageSize)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Page<TSource>(IQueryable<TSource>, Int32, Int32)
@@ -4285,7 +5555,7 @@
Declaration
-
public static IQueryable<TSource> Page<TSource>([NotNull] this IQueryable<TSource> source, int page, int pageSize)
+
public static IQueryable<TSource> Page<TSource>(this IQueryable<TSource> source, int page, int pageSize)
Parameters
@@ -4298,19 +5568,19 @@ Parameters
- IQueryable <TSource>
+ IQueryable <TSource>
source
The IQueryable to return elements from.
- Int32
+ Int32
page
The page to return.
- Int32
+ Int32
pageSize
The number of elements per page.
@@ -4327,8 +5597,8 @@ Returns
- IQueryable <TSource>
- A IQueryable<T> that contains the paged elements.
+ IQueryable <TSource>
+ A IQueryable<T> that contains the paged elements.
@@ -4351,19 +5621,19 @@ Type Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
+
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)
+
public static PagedResult PageResult(this IQueryable source, int page, int pageSize, int? rowCount = null)
Parameters
@@ -4376,21 +5646,27 @@ Parameters
- IQueryable
+ IQueryable
source
The IQueryable to return elements from.
- Int32
+ Int32
page
The page to return.
- Int32
+ Int32
pageSize
The number of elements per page.
+
+
+
+ Nullable <Int32 >
+ rowCount
+ If this optional parameter has been defined, this value is used as the RowCount instead of executing a Linq Count()
.
@@ -4413,19 +5689,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
+
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)
+
public static PagedResult<TSource> PageResult<TSource>(this IQueryable<TSource> source, int page, int pageSize, int? rowCount = null)
Parameters
@@ -4438,21 +5714,27 @@ Parameters
- IQueryable <TSource>
+ IQueryable <TSource>
source
The IQueryable to return elements from.
- Int32
+ Int32
page
The page to return.
- Int32
+ Int32
pageSize
The number of elements per page.
+
+
+
+ Nullable <Int32 >
+ rowCount
+ If this optional parameter has been defined, this value is used as the RowCount instead of executing a Linq Count()
.
@@ -4491,10 +5773,10 @@ Type Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Reverse(IQueryable)
@@ -4503,7 +5785,7 @@
Declaration
-
public static IQueryable Reverse([NotNull] this IQueryable source)
+
public static IQueryable Reverse(this IQueryable source)
Parameters
@@ -4516,7 +5798,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to reverse.
@@ -4533,18 +5815,18 @@ Returns
- IQueryable
- A IQueryable whose elements correspond to those of the input sequence in reverse order.
+ IQueryable
+ A IQueryable whose elements correspond to those of the input sequence in reverse order.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Select(IQueryable, ParsingConfig, String, Object[])
@@ -4553,7 +5835,7 @@
Declaration
-
public static IQueryable Select([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string selector, params object[] args)
+
public static IQueryable Select(this IQueryable source, ParsingConfig config, string selector, params object[] args)
Parameters
@@ -4566,7 +5848,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to project.
@@ -4578,13 +5860,13 @@ Parameters
- String
+ String
selector
A projection string expression to apply to each element.
- Object []
+ 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.
@@ -4601,8 +5883,8 @@ Returns
- IQueryable
- An IQueryable whose elements are the result of invoking a projection string on each element of source.
+ IQueryable
+ An IQueryable whose elements are the result of invoking a projection string on each element of source.
@@ -4613,10 +5895,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Select(IQueryable, ParsingConfig, Type, String, Object[])
@@ -4626,7 +5908,7 @@
Declaration
-
public static IQueryable Select([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] Type resultType, [NotNull] string selector, params object[] args)
+
public static IQueryable Select(this IQueryable source, ParsingConfig config, Type resultType, string selector, params object[] args)
Parameters
@@ -4639,7 +5921,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to project.
@@ -4651,19 +5933,19 @@ Parameters
- Type
+ Type
resultType
The result type.
- String
+ String
selector
A projection string expression to apply to each element.
- Object []
+ Object []
args
An object array that contains zero or more objects to insert into the predicate as parameters.
@@ -4680,8 +5962,8 @@ Returns
- IQueryable
- An IQueryable whose elements are the result of invoking a projection string on each element of source.
+ IQueryable
+ An IQueryable whose elements are the result of invoking a projection string on each element of source.
@@ -4691,18 +5973,19 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Select(IQueryable, String, Object[])
-
+ Projects each element of a sequence into a new form.
+
Declaration
-
public static IQueryable Select([NotNull] this IQueryable source, [NotNull] string selector, params object[] args)
+
public static IQueryable Select(this IQueryable source, string selector, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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)
+
public static IQueryable Select(this IQueryable source, Type resultType, string selector, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Select<TResult>(IQueryable, ParsingConfig, String, Object[])
@@ -4823,7 +6110,7 @@
Declaration
-
public static IQueryable<TResult> Select<TResult>([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string selector, params object[] args)
+
public static IQueryable<TResult> Select<TResult>(this IQueryable source, ParsingConfig config, string selector, params object[] args)
Parameters
@@ -4836,7 +6123,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to project.
@@ -4848,13 +6135,13 @@ Parameters
- String
+ String
selector
A projection string expression to apply to each element.
- Object []
+ Object []
args
An object array that contains zero or more objects to insert into the predicate as parameters.
@@ -4871,8 +6158,8 @@ Returns
- IQueryable <TResult>
- An IQueryable<T> whose elements are the result of invoking a projection string on each element of source.
+ IQueryable <TResult>
+ An IQueryable<T> whose elements are the result of invoking a projection string on each element of source.
@@ -4898,18 +6185,20 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Select<TResult>(IQueryable, String, Object[])
-
+
Declaration
-
public static IQueryable<TResult> Select<TResult>([NotNull] this IQueryable source, [NotNull] string selector, params object[] args)
+
public static IQueryable<TResult> Select<TResult>(this IQueryable source, string selector, params object[] args)
Parameters
@@ -4964,25 +6254,26 @@ Type Parameters
TResult
-
+ The type of the result.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SelectMany(IQueryable, ParsingConfig, String, Object[])
- Projects each element of a sequence to an IQueryable and combines the resulting sequences into one sequence.
+
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)
+
public static IQueryable SelectMany(this IQueryable source, ParsingConfig config, string selector, params object[] args)
Parameters
@@ -4995,7 +6286,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to project.
@@ -5007,13 +6298,13 @@ Parameters
- String
+ String
selector
A projection string expression to apply to each element.
- Object []
+ 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.
@@ -5030,8 +6321,8 @@ Returns
- IQueryable
- An IQueryable whose elements are the result of invoking a one-to-many projection function on each element of the input sequence.
+ IQueryable
+ An IQueryable whose elements are the result of invoking a one-to-many projection function on each element of the input sequence.
@@ -5041,14 +6332,14 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SelectMany(IQueryable, ParsingConfig, String, String, Object[], Object[])
- Projects each element of a sequence to an IQueryable
+
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.
@@ -5056,7 +6347,7 @@
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)
+
public static IQueryable SelectMany(this IQueryable source, ParsingConfig config, string collectionSelector, string resultSelector, object[] collectionSelectorArgs = null, params object[] resultSelectorArgs)
Parameters
@@ -5069,7 +6360,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to project.
@@ -5081,25 +6372,25 @@ Parameters
- String
+ String
collectionSelector
A projection function to apply to each element of the input sequence.
- String
+ String
resultSelector
A projection function to apply to each element of each intermediate sequence. Should only use x and y as parameter names.
- Object []
+ 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 []
+ 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.
@@ -5116,8 +6407,8 @@ Returns
- IQueryable
- An IQueryable whose elements are the result of invoking the one-to-many
+
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.
@@ -5129,14 +6420,14 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SelectMany(IQueryable, ParsingConfig, String, String, String, String, Object[], Object[])
- Projects each element of a sequence to an IQueryable
+
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.
@@ -5144,7 +6435,7 @@
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)
+
public static IQueryable SelectMany(this IQueryable source, ParsingConfig config, string collectionSelector, string resultSelector, string collectionParameterName, string resultParameterName, object[] collectionSelectorArgs = null, params object[] resultSelectorArgs)
Parameters
@@ -5157,7 +6448,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to project.
@@ -5169,37 +6460,37 @@ Parameters
- String
+ String
collectionSelector
A projection function to apply to each element of the input sequence.
- String
+ String
resultSelector
A projection function to apply to each element of each intermediate sequence.
- String
+ String
collectionParameterName
The name from collectionParameter to use. Default is x.
- String
+ String
resultParameterName
The name from resultParameterName to use. Default is y.
- Object []
+ 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 []
+ 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.
@@ -5216,8 +6507,8 @@ Returns
- IQueryable
- An IQueryable whose elements are the result of invoking the one-to-many
+
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.
@@ -5229,19 +6520,19 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
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)
+
public static IQueryable SelectMany(this IQueryable source, ParsingConfig config, Type resultType, string selector, params object[] args)
Parameters
@@ -5254,7 +6545,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to project.
@@ -5266,19 +6557,19 @@ Parameters
- Type
+ Type
resultType
The result type.
- String
+ String
selector
A projection string expression to apply to each element.
- Object []
+ 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.
@@ -5295,8 +6586,8 @@ Returns
- IQueryable
- An IQueryable whose elements are the result of invoking a one-to-many projection function on each element of the input sequence.
+ IQueryable
+ An IQueryable whose elements are the result of invoking a one-to-many projection function on each element of the input sequence.
@@ -5306,18 +6597,19 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SelectMany(IQueryable, 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] string selector, params object[] args)
+
public static IQueryable SelectMany(this IQueryable source, string selector, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SelectMany(IQueryable, 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] string collectionSelector, [NotNull] string resultSelector, [CanBeNull] object[] collectionSelectorArgs = null, [CanBeNull] params object[] resultSelectorArgs)
+
public static IQueryable SelectMany(this IQueryable source, string collectionSelector, string resultSelector, object[] collectionSelectorArgs = null, params object[] resultSelectorArgs)
Parameters
@@ -5387,27 +6684,27 @@ Parameters
- IQueryable
+ IQueryable
source
- String
+ String
collectionSelector
- String
+ String
resultSelector
- Object []
+ Object []
collectionSelectorArgs
- Object []
+ Object []
resultSelectorArgs
@@ -5423,25 +6720,32 @@ Returns
- IQueryable
-
+ 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.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SelectMany(IQueryable, 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] string collectionSelector, [NotNull] string resultSelector, [NotNull] string collectionParameterName, [NotNull] string resultParameterName, [CanBeNull] object[] collectionSelectorArgs = null, [CanBeNull] params object[] resultSelectorArgs)
+
public static IQueryable SelectMany(this IQueryable source, string collectionSelector, string resultSelector, string collectionParameterName, string resultParameterName, object[] collectionSelectorArgs = null, params object[] resultSelectorArgs)
Parameters
@@ -5454,37 +6758,37 @@ Parameters
- IQueryable
+ IQueryable
source
- String
+ String
collectionSelector
- String
+ String
resultSelector
- String
+ String
collectionParameterName
- String
+ String
resultParameterName
- Object []
+ Object []
collectionSelectorArgs
- Object []
+ Object []
resultSelectorArgs
@@ -5500,25 +6804,29 @@ Returns
- IQueryable
-
+ 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.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SelectMany(IQueryable, 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] Type resultType, [NotNull] string selector, params object[] args)
+
public static IQueryable SelectMany(this IQueryable source, Type resultType, string selector, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
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)
+
public static IQueryable<TResult> SelectMany<TResult>(this IQueryable source, ParsingConfig config, string selector, params object[] args)
Parameters
@@ -5594,7 +6903,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of values to project.
@@ -5606,13 +6915,13 @@ Parameters
- String
+ String
selector
A projection string expression to apply to each element.
- Object []
+ 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.
@@ -5629,8 +6938,8 @@ Returns
- 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.
+ 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.
@@ -5656,18 +6965,19 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SelectMany<TResult>(IQueryable, 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] string selector, params object[] args)
+
public static IQueryable<TResult> SelectMany<TResult>(this IQueryable source, string selector, params object[] args)
Parameters
@@ -5722,16 +7033,17 @@ Type Parameters
TResult
-
+ The type of the result.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Single(IQueryable)
@@ -5741,7 +7053,7 @@
Declaration
-
public static object Single([NotNull] this IQueryable source)
+
public static object Single(this IQueryable source)
Parameters
@@ -5754,9 +7066,9 @@ Parameters
- IQueryable
+ IQueryable
source
- A IQueryable to return the single element of.
+ A IQueryable to return the single element of.
@@ -5771,7 +7083,7 @@ Returns
- Object
+ Object
The single element of the input sequence.
@@ -5779,10 +7091,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Single(IQueryable, ParsingConfig, String, Object[])
@@ -5792,7 +7104,7 @@
Declaration
-
public static object Single([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+
public static object Single(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -5805,9 +7117,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the last element of.
+ The IQueryable to return the last element of.
@@ -5817,13 +7129,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -5840,7 +7152,7 @@ Returns
- Object
+ Object
The first element in source that passes the test in predicate.
@@ -5848,10 +7160,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Single(IQueryable, LambdaExpression)
@@ -5861,7 +7173,7 @@
Declaration
-
public static object Single([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
public static object Single(this IQueryable source, LambdaExpression lambda)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Single(IQueryable, 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] string predicate, params object[] args)
+
public static object Single(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SingleOrDefault(IQueryable)
@@ -5976,7 +7291,7 @@
Declaration
-
public static object SingleOrDefault([NotNull] this IQueryable source)
+
public static object SingleOrDefault(this IQueryable source)
Parameters
@@ -5989,9 +7304,9 @@ Parameters
- IQueryable
+ IQueryable
source
- A IQueryable to return the single element of.
+ A IQueryable to return the single element of.
@@ -6006,7 +7321,7 @@ Returns
- Object
+ Object
The single element of the input sequence, or default if the sequence contains no elements.
@@ -6014,10 +7329,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SingleOrDefault(IQueryable, ParsingConfig, String, Object[])
@@ -6027,7 +7342,7 @@
Declaration
-
public static object SingleOrDefault([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+
public static object SingleOrDefault(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -6040,9 +7355,9 @@ Parameters
- IQueryable
+ IQueryable
source
- The IQueryable to return the last element of.
+ The IQueryable to return the last element of.
@@ -6052,13 +7367,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -6075,7 +7390,7 @@ Returns
- Object
+ Object
The first element in source that passes the test in predicate.
@@ -6083,10 +7398,10 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SingleOrDefault(IQueryable, LambdaExpression)
@@ -6096,7 +7411,7 @@
Declaration
-
public static object SingleOrDefault([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
public static object SingleOrDefault(this IQueryable source, LambdaExpression lambda)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SingleOrDefault(IQueryable, 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] string predicate, params object[] args)
+
public static object SingleOrDefault(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Skip(IQueryable, Int32)
@@ -6209,7 +7527,7 @@
Declaration
-
public static IQueryable Skip([NotNull] this IQueryable source, int count)
+
public static IQueryable Skip(this IQueryable source, int count)
Parameters
@@ -6222,13 +7540,13 @@ Parameters
- IQueryable
+ IQueryable
source
- A IQueryable to return elements from.
+ A IQueryable to return elements from.
- Int32
+ Int32
count
The number of elements to skip before returning the remaining elements.
@@ -6245,18 +7563,18 @@ Returns
- IQueryable
- A IQueryable that contains elements that occur after the specified index in the input sequence.
+ IQueryable
+ A IQueryable that contains elements that occur after the specified index in the input sequence.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SkipWhile(IQueryable, ParsingConfig, String, Object[])
@@ -6265,7 +7583,7 @@
Declaration
-
public static IQueryable SkipWhile([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, [CanBeNull] params object[] args)
+
public static IQueryable SkipWhile(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -6278,7 +7596,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence to check for being empty.
@@ -6290,13 +7608,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -6313,8 +7631,8 @@ Returns
- 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.
+ 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.
@@ -6326,18 +7644,19 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SkipWhile(IQueryable, 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] string predicate, [CanBeNull] params object[] args)
+
public static IQueryable SkipWhile(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Sum(IQueryable)
@@ -6396,7 +7716,7 @@ Declaration
[PublicAPI]
-public static object Sum([NotNull] this IQueryable source)
+public static object Sum(this IQueryable source)
Parameters
@@ -6409,7 +7729,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of numeric values to calculate the sum of.
@@ -6426,7 +7746,7 @@ Returns
- Object
+ Object
The sum of the values in the sequence.
@@ -6439,10 +7759,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Sum(IQueryable, ParsingConfig, String, Object[])
@@ -6452,7 +7772,7 @@ Declaration
[PublicAPI]
-public static object Sum([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+public static object Sum(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -6465,7 +7785,7 @@ Parameters
- IQueryable
+ IQueryable
source
A sequence of numeric values to calculate the sum of.
@@ -6477,13 +7797,13 @@ Parameters
- String
+ String
predicate
A function to test each element for a condition.
- Object []
+ 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.
@@ -6500,7 +7820,7 @@ Returns
- Object
+ Object
The sum of the values in the sequence.
@@ -6512,10 +7832,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Sum(IQueryable, LambdaExpression)
@@ -6525,7 +7845,7 @@ Declaration
[PublicAPI]
-public static object Sum([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+public static object Sum(this IQueryable source, LambdaExpression lambda)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Sum(IQueryable, String, Object[])
-
+ Computes the sum of a sequence of numeric values.
+
+
+ Declaration
+
+
[PublicAPI]
+public static object Sum(this IQueryable source, string predicate, params object[] args)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IQueryable
+ source
+
+
+
+ String
+ predicate
+
+
+
+ Object []
+ args
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Object
+ The sum of the values in the sequence.
+
+
+
+
+
+ |
+ 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(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(this IQueryable source, ParsingConfig config, 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
+
+
+
+
+ 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[])
+ Returns elements from a sequence as long as a specified condition is true.
+
+
+ Declaration
+
+
public static IQueryable TakeWhile(this IQueryable source, string predicate, params object[] args)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IQueryable
+ source
+
+
+
+ String
+ predicate
+
+
+
+ Object []
+ args
+
+
+
+
+ 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.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ThenBy(IOrderedQueryable, ParsingConfig, String, IComparer, Object[])
+ Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
+
Declaration
-
[PublicAPI]
-public static object Sum([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args)
+
public static IOrderedQueryable ThenBy(this IOrderedQueryable source, ParsingConfig config, string ordering, IComparer comparer, params object[] args)
Parameters
@@ -6594,19 +8162,34 @@ Parameters
- IQueryable
+ IOrderedQueryable
source
-
+ A sequence of values to order.
+
- String
- predicate
-
+ ParsingConfig
+ config
+ The ParsingConfig .
+
+
+
+ String
+ ordering
+ An expression string to indicate values to order by.
+
+
+
+ IComparer
+ comparer
+ The comparer to use.
+
- Object []
+ 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.
+
@@ -6620,26 +8203,27 @@ Returns
- Object
-
+ IOrderedQueryable
+ A IQueryable whose elements are sorted according to the specified ordering
.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- Take(IQueryable, Int32)
- Returns a specified number of contiguous elements from the start of a sequence.
+
+
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 IQueryable Take([NotNull] this IQueryable source, int count)
+
public static IOrderedQueryable ThenBy(this IOrderedQueryable source, ParsingConfig config, string ordering, params object[] args)
Parameters
@@ -6652,15 +8236,27 @@ Parameters
- IQueryable
+ IOrderedQueryable
source
- The sequence to return elements from.
+ A sequence of values to order.
- Int32
- count
- The number of elements to return.
+ 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.
@@ -6675,27 +8271,33 @@ Returns
- IQueryable
- A IQueryable that contains the specified number of elements from the start of source.
+ 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
+ Improve this Doc
- View Source
+ View Source
-
-
TakeWhile(IQueryable, ParsingConfig, String, Object[])
-
Returns elements from a sequence as long as a specified condition is true.
+
+
ThenBy(IOrderedQueryable, String, IComparer, Object[])
+
Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
Declaration
-
public static IQueryable TakeWhile([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, [CanBeNull] params object[] args)
+
public static IOrderedQueryable ThenBy(this IOrderedQueryable source, string ordering, IComparer comparer, params object[] args)
Parameters
@@ -6708,28 +8310,24 @@ Parameters
- IQueryable
+ IOrderedQueryable
source
- A sequence to check for being empty.
-
+
- ParsingConfig
- config
- The ParsingConfig .
-
+ String
+ ordering
+
- String
- predicate
- A function to test each element for a condition.
-
+ IComparer
+ comparer
+
- Object []
+ 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.
-
+
@@ -6743,31 +8341,27 @@
Returns
- IQueryable
- An IQueryable that contains elements from the input sequence occurring before the element at which the test specified by predicate no longer passes.
+ IOrderedQueryable
+ A IQueryable whose elements are sorted according to the specified ordering
.
- Examples
- IQueryable queryable = employees.AsQueryable();
-var result1 = queryable.TakeWhile("Income > 50");
-var result2 = queryable.TakeWhile("Income > @0", 50);
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- TakeWhile(IQueryable, String, Object[])
-
+
+ ThenBy(IOrderedQueryable, String, Object[])
+ Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
+
Declaration
-
public static IQueryable TakeWhile([NotNull] this IQueryable source, [NotNull] string predicate, [CanBeNull] params object[] args)
+
public static IOrderedQueryable ThenBy(this IOrderedQueryable source, string ordering, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ThenBy(IOrderedQueryable, ParsingConfig, String, Object[])
+ ThenBy<TSource>(IOrderedQueryable<TSource>, ParsingConfig, String, IComparer, 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)
+
public static IOrderedQueryable<TSource> ThenBy<TSource>(this IOrderedQueryable<TSource> source, ParsingConfig config, string ordering, IComparer comparer, params object[] args)
Parameters
@@ -6838,7 +8433,7 @@ Parameters
- IOrderedQueryable
+ IOrderedQueryable <TSource>
source
A sequence of values to order.
@@ -6850,15 +8445,21 @@ Parameters
- String
+ String
ordering
An expression string to indicate values to order by.
- Object []
+ IComparer
+ comparer
+ The comparer to use.
+
+
+
+ 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.
+ An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.
@@ -6873,32 +8474,43 @@ Returns
- IOrderedQueryable
- A IQueryable whose elements are sorted according to the specified ordering
.
+ 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("LastName");
-var resultSingle = result.OrderBy("NumberProperty");
-var resultSingleDescending = result.OrderBy("NumberProperty DESC");
-var resultMultiple = result.OrderBy("NumberProperty, StringProperty DESC");
-
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ThenBy(IOrderedQueryable, String, Object[])
-
+ 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 ThenBy([NotNull] this IOrderedQueryable source, [NotNull] string ordering, params object[] args)
+
public static IOrderedQueryable<TSource> ThenBy<TSource>(this IOrderedQueryable<TSource> source, ParsingConfig config, string ordering, params object[] args)
Parameters
@@ -6911,19 +8523,28 @@ Parameters
- IOrderedQueryable
+ IOrderedQueryable <TSource>
source
-
+ A sequence of values to order.
+
+
+
+ ParsingConfig
+ config
+ The ParsingConfig .
+
- String
+ String
ordering
-
+ An expression string to indicate values to order by.
+
- Object []
+ 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.
+
@@ -6937,26 +8558,49 @@ Returns
- IOrderedQueryable
-
+ 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
+ Improve this Doc
- View Source
+ View Source
- ThenBy<TSource>(IOrderedQueryable<TSource>, ParsingConfig, String, Object[])
+ ThenBy<TSource>(IOrderedQueryable<TSource>, String, IComparer, 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)
+
public static IOrderedQueryable<TSource> ThenBy<TSource>(this IOrderedQueryable<TSource> source, string ordering, IComparer comparer, params object[] args)
Parameters
@@ -6969,25 +8613,25 @@ Parameters
- IOrderedQueryable <TSource>
+ IOrderedQueryable <TSource>
source
A sequence of values to order.
- ParsingConfig
- config
- The ParsingConfig .
+ String
+ ordering
+ An expression string to indicate values to order by.
- String
- ordering
- An expression string to indicate values to order by.
+ IComparer
+ comparer
+ The comparer to use.
- Object []
+ 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.
@@ -7004,8 +8648,8 @@ Returns
- IOrderedQueryable <TSource>
- A IOrderedQueryable<T> whose elements are sorted according to the specified ordering
.
+ IOrderedQueryable <TSource>
+ A IOrderedQueryable<T> whose elements are sorted according to the specified ordering
.
@@ -7026,26 +8670,21 @@ Type Parameters
- 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
+ Improve this Doc
- View Source
+ View Source
ThenBy<TSource>(IOrderedQueryable<TSource>, 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] string ordering, params object[] args)
+
public static IOrderedQueryable<TSource> ThenBy<TSource>(this IOrderedQueryable<TSource> source, string ordering, params object[] args)
Parameters
@@ -7100,16 +8740,17 @@ Type Parameters
TSource
-
+ The type of the elements of source.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Where(IQueryable, ParsingConfig, String, Object[])
@@ -7118,7 +8759,7 @@
Declaration
-
public static IQueryable Where([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+
public static IQueryable Where(this IQueryable source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -7131,9 +8772,9 @@ Parameters
- IQueryable
+ IQueryable
source
- A IQueryable to filter.
+ A IQueryable to filter.
@@ -7143,13 +8784,13 @@ Parameters
- String
+ String
predicate
An expression string to test each element for a condition.
- Object []
+ 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.
@@ -7166,8 +8807,8 @@ Returns
- IQueryable
- A IQueryable that contains elements from the input sequence that satisfy the condition specified by predicate.
+ IQueryable
+ A IQueryable that contains elements from the input sequence that satisfy the condition specified by predicate.
@@ -7181,10 +8822,10 @@
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Where(IQueryable, LambdaExpression)
@@ -7193,7 +8834,7 @@
Declaration
-
public static IQueryable Where([NotNull] this IQueryable source, [NotNull] LambdaExpression lambda)
+
public static IQueryable Where(this IQueryable source, LambdaExpression lambda)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Where(IQueryable, String, Object[])
-
+ Filters a sequence of values based on a predicate.
+
Declaration
-
public static IQueryable Where([NotNull] this IQueryable source, [NotNull] string predicate, params object[] args)
+
public static IQueryable Where(this IQueryable source, string predicate, params object[] args)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Where<TSource>(IQueryable<TSource>, ParsingConfig, String, Object[])
@@ -7306,7 +8949,7 @@
Declaration
-
public static IQueryable<TSource> Where<TSource>([NotNull] this IQueryable<TSource> source, [NotNull] ParsingConfig config, [NotNull] string predicate, params object[] args)
+
public static IQueryable<TSource> Where<TSource>(this IQueryable<TSource> source, ParsingConfig config, string predicate, params object[] args)
Parameters
@@ -7319,9 +8962,9 @@ Parameters
- IQueryable <TSource>
+ IQueryable <TSource>
source
- A IQueryable<T> to filter.
+ A IQueryable<T> to filter.
@@ -7331,13 +8974,13 @@ Parameters
- String
+ String
predicate
An expression string to test each element for a condition.
- Object []
+ 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.
@@ -7354,8 +8997,8 @@ Returns
- IQueryable <TSource>
- A IQueryable<T> that contains elements from the input sequence that satisfy the condition specified by predicate.
+ IQueryable <TSource>
+ A IQueryable<T> that contains elements from the input sequence that satisfy the condition specified by predicate.
@@ -7385,18 +9028,89 @@
|
- Improve this Doc
+ Improve this Doc
+
+
+ View Source
+
+
+ Where<TSource>(IQueryable<TSource>, LambdaExpression)
+ Filters a sequence of values based on a predicate.
+
+
+ Declaration
+
+
public static IQueryable<TSource> Where<TSource>(this IQueryable<TSource> source, LambdaExpression lambda)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IQueryable <TSource>
+ source
+
+
+
+ LambdaExpression
+ lambda
+ A cached Lambda Expression.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ IQueryable <TSource>
+ A IQueryable that contains elements from the input sequence that satisfy the condition specified by LambdaExpression.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ TSource
+
+
+
+
+
+ |
+ Improve this Doc
- View Source
+ View Source
Where<TSource>(IQueryable<TSource>, String, Object[])
-
+ Filters a sequence of values based on a predicate.
+
Declaration
-
public static IQueryable<TSource> Where<TSource>([NotNull] this IQueryable<TSource> source, [NotNull] string predicate, params object[] args)
+
public static IQueryable<TSource> Where<TSource>(this IQueryable<TSource> source, string predicate, params object[] args)
Parameters
@@ -7451,7 +9166,8 @@ Type Parameters
TSource
-
+ The type of the elements of source.
+
@@ -7463,15 +9179,16 @@ Type Parameters
diff --git a/docs/api/System.Linq.Dynamic.Core.Exceptions.ParseException.html b/docs/api/System.Linq.Dynamic.Core.Exceptions.ParseException.html
index 8bda5a3b..f0d5a42d 100644
--- a/docs/api/System.Linq.Dynamic.Core.Exceptions.ParseException.html
+++ b/docs/api/System.Linq.Dynamic.Core.Exceptions.ParseException.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,61 +88,61 @@
Inheritance
-
-
+
+
ParseException
-
+
Namespace : System.Linq.Dynamic.Core.Exceptions
@@ -156,10 +156,10 @@
Constructors
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ParseException(String, Int32)
@@ -181,13 +181,13 @@
Parameters
- String
+ String
message
The message that describes the error.
- Int32
+ Int32
position
The location in the parsed string that produced the ParseException
@@ -198,10 +198,10 @@ Properties
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Position
@@ -222,7 +222,7 @@ Property Value
- Int32
+ Int32
@@ -231,14 +231,14 @@
Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
GetObjectData(SerializationInfo, StreamingContext)
-
Overrides
-
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ToString()
@@ -297,20 +297,20 @@ Returns
- String
+ String
A string representation of the current exception.
Overrides
-
+
Implements
@@ -320,15 +320,16 @@ Implements
diff --git a/docs/api/System.Linq.Dynamic.Core.Exceptions.html b/docs/api/System.Linq.Dynamic.Core.Exceptions.html
index 3090922f..41dd7b27 100644
--- a/docs/api/System.Linq.Dynamic.Core.Exceptions.html
+++ b/docs/api/System.Linq.Dynamic.Core.Exceptions.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
diff --git a/docs/api/System.Linq.Dynamic.Core.ExtensibilityPoint.html b/docs/api/System.Linq.Dynamic.Core.ExtensibilityPoint.html
index 399088d2..e76596e5 100644
--- a/docs/api/System.Linq.Dynamic.Core.ExtensibilityPoint.html
+++ b/docs/api/System.Linq.Dynamic.Core.ExtensibilityPoint.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -89,31 +89,31 @@
Inheritance
-
+
ExtensibilityPoint
Namespace : System.Linq.Dynamic.Core
@@ -126,10 +126,10 @@ Fields
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
QueryOptimizer
diff --git a/docs/api/System.Linq.Dynamic.Core.GroupResult.html b/docs/api/System.Linq.Dynamic.Core.GroupResult.html
index d47f44a0..7f0f20fb 100644
--- a/docs/api/System.Linq.Dynamic.Core.GroupResult.html
+++ b/docs/api/System.Linq.Dynamic.Core.GroupResult.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,28 +88,28 @@
Inheritance
-
+
GroupResult
Namespace : System.Linq.Dynamic.Core
@@ -122,10 +122,10 @@ Properties
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Count
@@ -146,17 +146,17 @@ Property Value
- Int32
+ Int32
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Items
@@ -177,17 +177,17 @@
Property Value
- IEnumerable
+ IEnumerable
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Key
@@ -208,17 +208,17 @@
Property Value
- Object
+ Object
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Subgroups
@@ -239,7 +239,7 @@ Property Value
- IEnumerable <GroupResult >
+ IEnumerable <GroupResult >
@@ -248,14 +248,14 @@ Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ToString()
- Returns a String showing the key of the group and the number of items in the group.
+
Returns a String showing the key of the group and the number of items in the group.
Declaration
@@ -272,14 +272,14 @@
Returns
- String
- A String that represents this instance.
+ String
+ A String that represents this instance.
Overrides
-
+
@@ -288,15 +288,16 @@ Overrides
diff --git a/docs/api/System.Linq.Dynamic.Core.IAssemblyHelper.html b/docs/api/System.Linq.Dynamic.Core.IAssemblyHelper.html
index e4dfb733..63532d00 100644
--- a/docs/api/System.Linq.Dynamic.Core.IAssemblyHelper.html
+++ b/docs/api/System.Linq.Dynamic.Core.IAssemblyHelper.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -96,10 +96,10 @@
Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
GetAssemblies()
@@ -120,7 +120,7 @@
Returns
- Assembly []
+ Assembly []
An array of assemblies in this application domain.
@@ -134,15 +134,16 @@ Returns
diff --git a/docs/api/System.Linq.Dynamic.Core.IQueryableAnalyzer.html b/docs/api/System.Linq.Dynamic.Core.IQueryableAnalyzer.html
index 66a829de..9888fb23 100644
--- a/docs/api/System.Linq.Dynamic.Core.IQueryableAnalyzer.html
+++ b/docs/api/System.Linq.Dynamic.Core.IQueryableAnalyzer.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -96,10 +96,10 @@
Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SupportsLinqToObjects(IQueryable, IQueryProvider)
@@ -108,7 +108,7 @@
Declaration
-
bool SupportsLinqToObjects([NotNull] IQueryable query, [CanBeNull] IQueryProvider provider = null)
+
bool SupportsLinqToObjects(IQueryable query, IQueryProvider provider = null)
Parameters
@@ -121,13 +121,13 @@ Parameters
- IQueryable
+ IQueryable
query
The query to check.
- IQueryProvider
+ IQueryProvider
provider
The provider to check (can be null).
@@ -144,7 +144,7 @@ Returns
- Boolean
+ Boolean
true/false
@@ -158,15 +158,16 @@ Returns
diff --git a/docs/api/System.Linq.Dynamic.Core.PagedResult-1.html b/docs/api/System.Linq.Dynamic.Core.PagedResult-1.html
index ebc7860a..17a4d6b2 100644
--- a/docs/api/System.Linq.Dynamic.Core.PagedResult-1.html
+++ b/docs/api/System.Linq.Dynamic.Core.PagedResult-1.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,7 +88,7 @@
Inheritance
-
+
PagedResult<TSource>
@@ -107,25 +107,25 @@ Inherited Members
PagedResult.RowCount
Namespace : System.Linq.Dynamic.Core
@@ -154,10 +154,10 @@ Properties
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Queryable
@@ -178,7 +178,7 @@ Property Value
- IQueryable <TSource>
+ IQueryable <TSource>
The queryable.
@@ -192,15 +192,16 @@ Property Value
diff --git a/docs/api/System.Linq.Dynamic.Core.PagedResult.html b/docs/api/System.Linq.Dynamic.Core.PagedResult.html
index d708b9a3..7f73476b 100644
--- a/docs/api/System.Linq.Dynamic.Core.PagedResult.html
+++ b/docs/api/System.Linq.Dynamic.Core.PagedResult.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,32 +88,32 @@
Inheritance
-
+
PagedResult
Namespace : System.Linq.Dynamic.Core
@@ -126,10 +126,10 @@ Properties
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
CurrentPage
@@ -150,7 +150,7 @@ Property Value
- Int32
+ Int32
The current page.
@@ -158,10 +158,10 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
PageCount
@@ -182,7 +182,7 @@ Property Value
- Int32
+ Int32
The page count.
@@ -190,10 +190,10 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
PageSize
@@ -214,7 +214,7 @@ Property Value
- Int32
+ Int32
The size of the page.
@@ -222,10 +222,10 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Queryable
@@ -246,7 +246,7 @@ Property Value
- IQueryable
+ IQueryable
The queryable.
@@ -254,10 +254,10 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
RowCount
@@ -278,7 +278,7 @@ Property Value
- Int32
+ Int32
The row count.
@@ -292,15 +292,16 @@ Property Value
diff --git a/docs/api/System.Linq.Dynamic.Core.Parser.ExpressionParser.html b/docs/api/System.Linq.Dynamic.Core.Parser.ExpressionParser.html
index 6f62eb0e..77dc984b 100644
--- a/docs/api/System.Linq.Dynamic.Core.Parser.ExpressionParser.html
+++ b/docs/api/System.Linq.Dynamic.Core.Parser.ExpressionParser.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,31 +88,31 @@
Inheritance
-
+
ExpressionParser
Namespace : System.Linq.Dynamic.Core.Parser
@@ -125,10 +125,10 @@ Constructors
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ExpressionParser(ParameterExpression[], String, Object[], ParsingConfig)
@@ -137,7 +137,7 @@
Declaration
-
public ExpressionParser([CanBeNull] ParameterExpression[] parameters, [NotNull] string expression, [CanBeNull] object[] values, [CanBeNull] ParsingConfig parsingConfig)
+
public ExpressionParser(ParameterExpression[] parameters, string expression, object[] values, ParsingConfig parsingConfig)
Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
LastLambdaItName
@@ -238,7 +238,7 @@ Property Value
- String
+ String
@@ -247,10 +247,10 @@
Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Parse(Type, Boolean)
@@ -259,7 +259,7 @@
Declaration
-
public Expression Parse([CanBeNull] Type resultType, bool createParameterCtor = true)
+
public Expression Parse(Type resultType, bool createParameterCtor = true)
Parameters
@@ -272,13 +272,13 @@ Parameters
- Type
+ Type
resultType
Type of the result.
- Boolean
+ Boolean
createParameterCtor
if set to true
[create parameter ctor].
@@ -295,7 +295,7 @@ Returns
- Expression
+ Expression
Expression
@@ -309,15 +309,16 @@ Returns
diff --git a/docs/api/System.Linq.Dynamic.Core.Parser.ExpressionPromoter.html b/docs/api/System.Linq.Dynamic.Core.Parser.ExpressionPromoter.html
index 8bc43fa5..327c29fe 100644
--- a/docs/api/System.Linq.Dynamic.Core.Parser.ExpressionPromoter.html
+++ b/docs/api/System.Linq.Dynamic.Core.Parser.ExpressionPromoter.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -83,39 +83,40 @@
Class ExpressionPromoter
-
+
Inheritance
-
+
ExpressionPromoter
-
@@ -219,8 +225,9 @@ Returns
- Expression
-
+ Expression
+ The promoted Expression or null.
+
@@ -236,15 +243,16 @@ Implements
diff --git a/docs/api/System.Linq.Dynamic.Core.Parser.IExpressionPromoter.html b/docs/api/System.Linq.Dynamic.Core.Parser.IExpressionPromoter.html
index dd7daf3d..0f9adb0f 100644
--- a/docs/api/System.Linq.Dynamic.Core.Parser.IExpressionPromoter.html
+++ b/docs/api/System.Linq.Dynamic.Core.Parser.IExpressionPromoter.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -98,10 +98,10 @@
Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Promote(Expression, Type, Boolean, Boolean)
@@ -123,25 +123,25 @@
Parameters
- Expression
+ Expression
expr
Source expression
- Type
+ Type
type
- Destionation data type to promote
+ Destination data type to promote
- Boolean
+ Boolean
exact
If the match must be exact
- Boolean
+ Boolean
convertExpr
Convert expression
@@ -158,8 +158,8 @@ Returns
- Expression
- The promoted Expression
+ Expression
+ The promoted Expression or null.
@@ -172,15 +172,16 @@
Returns
diff --git a/docs/api/System.Linq.Dynamic.Core.Parser.NumberParser.html b/docs/api/System.Linq.Dynamic.Core.Parser.NumberParser.html
index 0913cc44..b5e86767 100644
--- a/docs/api/System.Linq.Dynamic.Core.Parser.NumberParser.html
+++ b/docs/api/System.Linq.Dynamic.Core.Parser.NumberParser.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,31 +88,31 @@
Inheritance
-
+
NumberParser
Namespace : System.Linq.Dynamic.Core.Parser
@@ -125,10 +125,10 @@ Constructors
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
NumberParser(ParsingConfig)
@@ -161,10 +161,65 @@ Methods
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
+
+
+ ParseIntegerLiteral(Int32, String)
+ Tries to parse the text into a IntegerLiteral ConstantExpression.
+
+
+ Declaration
+
+
public Expression ParseIntegerLiteral(int tokenPosition, string text)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ Int32
+ tokenPosition
+ The current token position (needed for error reporting).
+
+
+
+ String
+ text
+ The text.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Expression
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
ParseNumber(String, Type)
@@ -186,13 +241,13 @@ Parameters
- String
+ String
text
The text.
- Type
+ Type
type
The type.
@@ -209,7 +264,126 @@ Returns
- Object
+ Object
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ParseRealLiteral(String, Char, Boolean)
+ Parse the text into a Real ConstantExpression.
+
+
+ Declaration
+
+
public Expression ParseRealLiteral(string text, char qualifier, bool stripQualifier)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ String
+ text
+
+
+
+ Char
+ qualifier
+
+
+
+ Boolean
+ stripQualifier
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Expression
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ TryParseNumber(String, Type, out Object)
+ Tries to parse the number (text) into the specified type.
+
+
+ Declaration
+
+
public bool TryParseNumber(string text, Type type, out object result)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ String
+ text
+ The text.
+
+
+
+ Type
+ type
+ The type.
+
+
+
+ Object
+ result
+ The result.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Boolean
@@ -222,15 +396,16 @@ Returns
diff --git a/docs/api/System.Linq.Dynamic.Core.Parser.html b/docs/api/System.Linq.Dynamic.Core.Parser.html
index bebdbb3e..4d648ac1 100644
--- a/docs/api/System.Linq.Dynamic.Core.Parser.html
+++ b/docs/api/System.Linq.Dynamic.Core.Parser.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
diff --git a/docs/api/System.Linq.Dynamic.Core.ParsingConfig.html b/docs/api/System.Linq.Dynamic.Core.ParsingConfig.html
index 0d0ba303..7f25ff80 100644
--- a/docs/api/System.Linq.Dynamic.Core.ParsingConfig.html
+++ b/docs/api/System.Linq.Dynamic.Core.ParsingConfig.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
@@ -88,31 +88,31 @@
Inheritance
-
+
ParsingConfig
Namespace : System.Linq.Dynamic.Core
@@ -125,15 +125,15 @@ Properties
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
AllowNewToEvaluateAnyType
Allows the New() keyword to evaluate any available Type.
-
Default value is false.
+
Default value is false
.
Declaration
@@ -150,23 +150,23 @@ Property Value
- Boolean
+ Boolean
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
Default value is false
.
Declaration
@@ -183,17 +183,17 @@ Property Value
- Boolean
+ Boolean
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
CustomTypeProvider
@@ -221,16 +221,16 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
Default value is false
.
Declaration
@@ -247,17 +247,17 @@ Property Value
- Boolean
+ Boolean
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
Default
@@ -285,10 +285,41 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
+
+
+ DefaultCosmosDb
+ Default ParsingConfig for CosmosDb
+
+
+ Declaration
+
+
public static ParsingConfig DefaultCosmosDb { get; }
+
+ Property Value
+
+
+ |
+ Improve this Doc
+
+
+ View Source
DefaultEFCore21
@@ -316,17 +347,17 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
Default value is false
.
Declaration
@@ -343,24 +374,24 @@ Property Value
- Boolean
+ Boolean
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
EvaluateGroupByAtDatabase
Declaration
@@ -377,17 +408,17 @@ Property Value
- Boolean
+ Boolean
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
ExpressionPromoter
@@ -415,10 +446,73 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
+
+
+ View Source
+
+
+ IsCaseSensitive
+ Gets or sets if parameter, method, and properties resolution should be case sensitive or not (false by default).
+
+
+ Declaration
+
+
public bool IsCaseSensitive { get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ Boolean
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ NullPropagatingUseDefaultValueForNonNullableValueTypes
+ When using the NullPropagating function np(...), use a "default value" for non-nullable value types instead of "null value".
+
Default value is false
.
+
+
+ Declaration
+
+
public bool NullPropagatingUseDefaultValueForNonNullableValueTypes { get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ Boolean
+
+
+
+
+
+ |
+ Improve this Doc
- View Source
+ View Source
NumberParseCulture
@@ -440,17 +534,50 @@ Property Value
- CultureInfo
+ CultureInfo
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
+
+
+ PrioritizePropertyOrFieldOverTheType
+ When the type and property have the same name the parser takes the property instead of type when this setting is set to true
.
+
This setting is also used for calling ExtensionMethods.
+
Default value is true
.
+
+
+ Declaration
+
+
public bool PrioritizePropertyOrFieldOverTheType { get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ Boolean
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
QueryableAnalyzer
@@ -478,15 +605,47 @@ Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
+
+
+ RenameEmptyParameterExpressionNames
+ Prevents any System.Linq.Expressions.ParameterExpression.Name value from being empty by substituting a random 16 character word.
+
Default value is false
.
+
+
+ Declaration
+
+
public bool RenameEmptyParameterExpressionNames { get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ Boolean
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
RenameParameterExpression
Renames the (Typed)ParameterExpression empty Name to a the correct supplied name from it
.
-
Default value is false.
+
Default value is false
.
Declaration
@@ -503,24 +662,24 @@ Property Value
- Boolean
+ Boolean
|
- Improve this Doc
+ Improve this Doc
- View Source
+ 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.
+
Default value is false
.
Declaration
@@ -537,17 +696,50 @@ Property Value
- Boolean
+ Boolean
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ SupportCastingToFullyQualifiedTypeAsString
+ Support casting to a full qualified type using a string (double quoted value).
+
var result = queryable.Select($"\"System.DateTime\"(LastUpdate)");
+
Default value is true
.
+
+
+ Declaration
+
+
public bool SupportCastingToFullyQualifiedTypeAsString { get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ Boolean
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
SupportEnumerationsFromSystemNamespace
@@ -569,27 +761,26 @@ Property Value
- Boolean
+ Boolean
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- UseDynamicObjectClassForAnonymousTypes
- Gets or sets a value indicating whether to use dynamic object class for anonymous types.
-
Default value is false.
+
+
TypeConverters
+
Additional TypeConverters
Declaration
-
public bool UseDynamicObjectClassForAnonymousTypes { get; set; }
+
public IDictionary<Type, TypeConverter> TypeConverters { get; set; }
Property Value
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
UseParameterizedNamesInDynamicQuery
Declaration
@@ -634,7 +825,7 @@
Property Value
- Boolean
+ Boolean
@@ -647,15 +838,16 @@
Property Value
diff --git a/docs/api/System.Linq.Dynamic.Core.Tokenizer.TextParser.html b/docs/api/System.Linq.Dynamic.Core.Tokenizer.TextParser.html
new file mode 100644
index 00000000..c2b1aa4d
--- /dev/null
+++ b/docs/api/System.Linq.Dynamic.Core.Tokenizer.TextParser.html
@@ -0,0 +1,328 @@
+
+
+
+
+
+
+
+ Class TextParser
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search Results for
+
+
+
+
+
+
+
+
+
+
+
+
+ Class TextParser
+
+ TextParser which can be used to parse a text into tokens.
+
+
+
+
Inheritance
+
+
TextParser
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
+ Namespace : System.Linq.Dynamic.Core.Tokenizer
+ Assembly : System.Linq.Dynamic.Core.dll
+ Syntax
+
+
public class TextParser
+
+ Constructors
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ TextParser(ParsingConfig, String)
+ Constructor for TextParser
+
+
+ Declaration
+
+
public TextParser(ParsingConfig config, string text)
+
+ Parameters
+
+ Fields
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+ CurrentToken
+ The current parsed Token .
+
+
+ Declaration
+
+
public Token CurrentToken
+
+ Field Value
+
+
+
+ Type
+ Description
+
+
+
+
+ Token
+
+
+
+
+ Methods
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ NextToken()
+
+
+ Declaration
+
+
public void NextToken()
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ PeekNextChar()
+ Peek the next character.
+
+
+ Declaration
+
+
public char PeekNextChar()
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ Char
+ The next character, or \0 if end of string.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ValidateToken(TokenId, String)
+ Check if the current token is the specified TokenId .
+
+
+ Declaration
+
+
public void ValidateToken(TokenId tokenId, string errorMessage = null)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ TokenId
+ tokenId
+ The tokenId to check.
+
+
+
+ String
+ errorMessage
+ The (optional) error message.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/api/System.Linq.Dynamic.Core.Tokenizer.Token.html b/docs/api/System.Linq.Dynamic.Core.Tokenizer.Token.html
new file mode 100644
index 00000000..b81db55b
--- /dev/null
+++ b/docs/api/System.Linq.Dynamic.Core.Tokenizer.Token.html
@@ -0,0 +1,284 @@
+
+
+
+
+
+
+
+ Struct Token
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search Results for
+
+
+
+
+
+
+
+
+
+
+
+
+ Struct Token
+
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+ Namespace : System.Linq.Dynamic.Core.Tokenizer
+ Assembly : System.Linq.Dynamic.Core.dll
+ Syntax
+
+ Properties
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Id
+
+
+ Declaration
+
+
public TokenId Id { readonly get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ TokenId
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ OriginalId
+
+
+ Declaration
+
+
public TokenId OriginalId { readonly get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ TokenId
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Pos
+
+
+ Declaration
+
+
public int Pos { readonly get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ Int32
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Text
+
+
+ Declaration
+
+
public string Text { readonly get; set; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/api/System.Linq.Dynamic.Core.Tokenizer.TokenId.html b/docs/api/System.Linq.Dynamic.Core.Tokenizer.TokenId.html
new file mode 100644
index 00000000..1a45b514
--- /dev/null
+++ b/docs/api/System.Linq.Dynamic.Core.Tokenizer.TokenId.html
@@ -0,0 +1,305 @@
+
+
+
+
+
+
+
+ Enum TokenId
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search Results for
+
+
+
+
+
+
+
+
+
+
+
+
+ Enum TokenId
+
+ TokenId which defines the text which is parsed.
+
+
+ Namespace : System.Linq.Dynamic.Core.Tokenizer
+ Assembly : System.Linq.Dynamic.Core.dll
+ Syntax
+
+ Fields
+
+
+
+
+ Name
+ Description
+
+
+
+
+ Ampersand
+
+
+
+ Asterisk
+
+
+
+ Bar
+
+
+
+ CloseBracket
+
+
+
+ CloseCurlyParen
+
+
+
+ CloseParen
+
+
+
+ Colon
+
+
+
+ Comma
+
+
+
+ Dot
+
+
+
+ DoubleAmpersand
+
+
+
+ DoubleBar
+
+
+
+ DoubleEqual
+
+
+
+ DoubleGreaterThan
+
+
+
+ DoubleLessThan
+
+
+
+ End
+
+
+
+ Equal
+
+
+
+ Exclamation
+
+
+
+ ExclamationEqual
+
+
+
+ GreaterThan
+
+
+
+ GreaterThanEqual
+
+
+
+ Identifier
+
+
+
+ IntegerLiteral
+
+
+
+ Lambda
+
+
+
+ LessGreater
+
+
+
+ LessThan
+
+
+
+ LessThanEqual
+
+
+
+ Minus
+
+
+
+ NullCoalescing
+
+
+
+ NullPropagation
+
+
+
+ OpenBracket
+
+
+
+ OpenCurlyParen
+
+
+
+ OpenParen
+
+
+
+ Percent
+
+
+
+ Plus
+
+
+
+ Question
+
+
+
+ RealLiteral
+
+
+
+ Slash
+
+
+
+ StringLiteral
+
+
+
+ Unknown
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/api/System.Linq.Dynamic.Core.Tokenizer.html b/docs/api/System.Linq.Dynamic.Core.Tokenizer.html
new file mode 100644
index 00000000..dad26072
--- /dev/null
+++ b/docs/api/System.Linq.Dynamic.Core.Tokenizer.html
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+ Namespace System.Linq.Dynamic.Core.Tokenizer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search Results for
+
+
+
+
+
+
+
+
+
+
+
+ Namespace System.Linq.Dynamic.Core.Tokenizer
+
+
+
+
+ Classes
+
+ TextParser
+ TextParser which can be used to parse a text into tokens.
+
+ Structs
+
+ Token
+
+ Enums
+
+ TokenId
+ TokenId which defines the text which is parsed.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/api/System.Linq.Dynamic.Core.html b/docs/api/System.Linq.Dynamic.Core.html
index 30fb9972..41e2e6f2 100644
--- a/docs/api/System.Linq.Dynamic.Core.html
+++ b/docs/api/System.Linq.Dynamic.Core.html
@@ -10,7 +10,7 @@
-
+
@@ -61,11 +61,11 @@
-
+
Search Results for
-
+
diff --git a/docs/api/System.Tuple-2.html b/docs/api/System.Tuple-2.html
new file mode 100644
index 00000000..ad26279c
--- /dev/null
+++ b/docs/api/System.Tuple-2.html
@@ -0,0 +1,251 @@
+
+
+
+
+
+
+
+ Class Tuple<T1, T2>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search Results for
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Tuple<T1, T2>
+
+ Represents a 2-tuple, or pair.
+
+
+
+
Inheritance
+
+
Tuple<T1, T2>
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
+ Namespace : System
+ Assembly : System.Linq.Dynamic.Core.dll
+ Syntax
+
+
public class Tuple<T1, T2>
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T1
+ The type of the tuple's first component.
+
+
+
+ T2
+ The type of the tuple's second component.
+
+
+
+
+ Properties
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Item1
+ The value of the current System.Tuple`2 object's first component.
+
+
+ Declaration
+
+
public T1 Item1 { get; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ T1
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Item2
+ The value of the current System.Tuple`2 object's second component.
+
+
+ Declaration
+
+
public T2 Item2 { get; }
+
+ Property Value
+
+
+
+ Type
+ Description
+
+
+
+
+ T2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/api/System.html b/docs/api/System.html
new file mode 100644
index 00000000..0b290949
--- /dev/null
+++ b/docs/api/System.html
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+ Namespace System
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search Results for
+
+
+
+
+
+
+
+
+
+
+
+ Namespace System
+
+
+
+
+ Classes
+
+ Tuple<T1, T2>
+ Represents a 2-tuple, or pair.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/api/toc.html b/docs/api/toc.html
index b64f00d5..4f222bf8 100644
--- a/docs/api/toc.html
+++ b/docs/api/toc.html
@@ -12,6 +12,16 @@
diff --git a/docs/index.html b/docs/index.html
index de189b89..d8d1d3e7 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -8,7 +8,7 @@
System.Linq.Dynamic.Core
-
+
@@ -59,11 +59,11 @@
-
+
Search Results for
-
+
@@ -95,7 +95,8 @@
API Documentation
diff --git a/docs/index.json b/docs/index.json
index 48f80ea5..491bb727 100644
--- a/docs/index.json
+++ b/docs/index.json
@@ -1,93 +1,108 @@
{
+ "api/System.html": {
+ "href": "api/System.html",
+ "title": "Namespace System",
+ "keywords": "Namespace System Classes Tuple Represents a 2-tuple, or pair."
+ },
+ "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) Finds the unique types marked with DynamicLinqTypeAttribute. Declaration protected IEnumerable FindTypesMarkedWithDynamicLinqTypeAttribute(IEnumerable assemblies) Parameters Type Name Description IEnumerable < Assembly > assemblies The assemblies to process. Returns Type Description IEnumerable < Type > IEnumerable | Improve this Doc View Source GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable) Gets the assembly types annotated with DynamicLinqTypeAttribute in an Exception friendly way. Declaration protected IEnumerable GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable assemblies) Parameters Type Name Description IEnumerable < Assembly > assemblies The assemblies to process. Returns Type Description IEnumerable < Type > IEnumerable | Improve this Doc View Source ResolveType(IEnumerable, String) Resolve any type which is registered in the current application domain. Declaration protected Type ResolveType(IEnumerable assemblies, 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, String) Resolve a type by the simple name which is registered in the current application domain. Declaration protected Type ResolveTypeBySimpleName(IEnumerable assemblies, 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.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html": {
+ "href": "api/System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html",
+ "title": "Class DefaultDynamicLinqCustomTypeProvider",
+ "keywords": "Class DefaultDynamicLinqCustomTypeProvider The default implementation for DefaultDynamicLinqCustomTypeProvider . 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 IDynamicLinqCustomTypeProvider Inherited Members AbstractDynamicLinqCustomTypeProvider.FindTypesMarkedWithDynamicLinqTypeAttribute(IEnumerable) AbstractDynamicLinqCustomTypeProvider.ResolveType(IEnumerable, String) AbstractDynamicLinqCustomTypeProvider.ResolveTypeBySimpleName(IEnumerable, String) AbstractDynamicLinqCustomTypeProvider.GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable) 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, IDynamicLinqCustomTypeProvider 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 (including extension methods) which are found in the Application Domain. Default set to 'true'. Methods | Improve this Doc View Source GetCustomTypes() Returns a list of custom types that System.Linq.Dynamic.Core will understand. Declaration public virtual HashSet GetCustomTypes() Returns Type Description HashSet < Type > A HashSet list of custom types. | Improve this Doc View Source GetExtensionMethods() Returns a list of custom extension methods that System.Linq.Dynamic.Core will understand. Declaration public Dictionary> GetExtensionMethods() Returns Type Description Dictionary < Type , List < MethodInfo >> A list of custom extension methods that System.Linq.Dynamic.Core will understand. | Improve this Doc View Source ResolveType(String) Resolve any type by fullname which is registered in the current application domain. Declaration public Type ResolveType(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 public Type ResolveTypeBySimpleName(string simpleTypeName) Parameters Type Name Description String simpleTypeName The typename to resolve. Returns Type Description Type A resolved Type or null when not found. Implements IDynamicLinkCustomTypeProvider IDynamicLinqCustomTypeProvider"
+ },
+ "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.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)] public sealed class DynamicLinqTypeAttribute : Attribute, _Attribute Implements System.Runtime.InteropServices._Attribute"
+ },
+ "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 DefaultDynamicLinqCustomTypeProvider . 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. Note that this interface will be marked obsolete in the next version. Use IDynamicLinqCustomTypeProvider instead. IDynamicLinqCustomTypeProvider Interface for providing functionality to find custom types for or resolve any type."
+ },
"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 GetCustomTypes() Returns Type Description HashSet < Type > A HashSet 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."
+ "keywords": "Interface IDynamicLinkCustomTypeProvider Interface for providing functionality to find custom types for or resolve any type. Note that this interface will be marked obsolete in the next version. Use IDynamicLinqCustomTypeProvider instead. Inherited Members IDynamicLinqCustomTypeProvider.GetCustomTypes() IDynamicLinqCustomTypeProvider.GetExtensionMethods() IDynamicLinqCustomTypeProvider.ResolveType(String) IDynamicLinqCustomTypeProvider.ResolveTypeBySimpleName(String) Namespace : System.Linq.Dynamic.Core.CustomTypeProviders Assembly : System.Linq.Dynamic.Core.dll Syntax public interface IDynamicLinkCustomTypeProvider : IDynamicLinqCustomTypeProvider"
},
- "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.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html": {
+ "href": "api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html",
+ "title": "Interface IDynamicLinqCustomTypeProvider",
+ "keywords": "Interface IDynamicLinqCustomTypeProvider 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 IDynamicLinqCustomTypeProvider Methods | Improve this Doc View Source GetCustomTypes() Returns a list of custom types that System.Linq.Dynamic.Core will understand. Declaration HashSet GetCustomTypes() Returns Type Description HashSet < Type > A HashSet list of custom types. | Improve this Doc View Source GetExtensionMethods() Returns a list of custom extension methods that System.Linq.Dynamic.Core will understand. Declaration Dictionary> GetExtensionMethods() Returns Type Description Dictionary < Type , List < MethodInfo >> A list of custom extension methods that System.Linq.Dynamic.Core will understand. | Improve this Doc View Source ResolveType(String) Resolve any type by fullname which is registered in the current application domain. Declaration Type ResolveType(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(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.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 of Object ./> Declaration public static IEnumerable AsEnumerable([NotNull] this IQueryable source) Parameters Type Name Description IQueryable source The sequence to type as IEnumerable of Object . Returns Type Description IEnumerable < Object > The input typed as IEnumerable 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(IEnumerable, Func[]) 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 GroupByMany([NotNull] this IEnumerable source, params Func[] keySelectors) Parameters Type Name Description IEnumerable source A IEnumerable whose elements to group. Func [] keySelectors Lambda expressions to specify the keys for each element. Returns Type Description IEnumerable < GroupResult > A IEnumerable 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(IEnumerable, 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 GroupByMany([NotNull] this IEnumerable source, [NotNull] ParsingConfig config, params string[] keySelectors) Parameters Type Name Description IEnumerable source A IEnumerable 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 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(IEnumerable, String[]) Declaration public static IEnumerable GroupByMany([NotNull] this IEnumerable source, params string[] keySelectors) Parameters Type Name Description IEnumerable 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(IQueryable, IEnumerable, String, String, String, Object[]) Declaration public static IQueryable Join([NotNull] this IQueryable outer, [NotNull] IEnumerable inner, [NotNull] string outerKeySelector, [NotNull] string innerKeySelector, 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 Type Parameters Name Description TElement | 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, 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 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(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 . Type Parameters Name Description TSource The type of the elements of source. Examples var resultSingle = queryable.OrderBy(\"NumberProperty\"); var resultSingleDescending = queryable.OrderBy(\"NumberProperty DESC\"); var resultMultiple = queryable.OrderBy(\"NumberProperty, StringProperty\"); | 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 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(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. 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(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{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(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 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. Returns Type Description IQueryable An IQueryable 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(\"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 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(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. Type Parameters Name Description TResult The type of the result. Examples var permissions = users.SelectMany(\"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 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(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 IOrderedQueryable 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(\"LastName\"); var resultSingle = result.ThenBy(\"NumberProperty\"); var resultSingleDescending = result.ThenBy(\"NumberProperty DESC\"); var resultMultiple = result.ThenBy(\"NumberProperty, StringProperty\"); | 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 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(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. 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(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 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(ParsingConfig, Boolean, ParameterExpression[], String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda([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 > The generated Expression Type Parameters Name Description TResult The type of the result. | Improve this Doc View Source ParseLambda(ParsingConfig, Boolean, String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda([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 > The generated Expression Type Parameters Name Description TResult The type of the result. | Improve this Doc View Source ParseLambda(ParsingConfig, Boolean, String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda([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 > The generated Expression Type Parameters Name Description T The it -Type. TResult The type of the result."
+ "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) Determines whether the specified query (and provider) supports LinqToObjects. Declaration public bool SupportsLinqToObjects(IQueryable query, 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 Implements IQueryableAnalyzer See Also IQueryableAnalyzer"
},
"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(String) Gets the dynamic property by name. Declaration public T GetDynamicPropertyValue(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(String, T) Sets the dynamic property value by name. Declaration public void SetDynamicPropertyValue(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.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 CreateGenericComparerType(Type, Type) Create a GenericComparerType based on the GenericType and an instance of a IComparer . Declaration public static Type CreateGenericComparerType(Type comparerGenericType, Type comparerType) Parameters Type Name Description Type comparerGenericType The GenericType Type comparerType The IComparer instance Returns Type Description Type Type | Improve this Doc View Source CreateType(IList, 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(IList 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.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) AbstractDynamicLinqCustomTypeProvider.ResolveType(IEnumerable, String) AbstractDynamicLinqCustomTypeProvider.ResolveTypeBySimpleName(IEnumerable, String) AbstractDynamicLinqCustomTypeProvider.GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable) 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 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.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(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(this IEnumerable source, 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(IEnumerable) Creates an array of dynamic objects from a IEnumerable . Declaration public static T[] ToDynamicArray(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 ToDynamicList(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 ToDynamicList(this IEnumerable source, 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(IEnumerable) Creates a list of dynamic objects from a IEnumerable . Declaration public static List ToDynamicList(this IEnumerable source) Parameters Type Name Description IEnumerable source A IEnumerable to create an array from. Returns Type Description List A List{T} that contains the elements from the input sequence. Type Parameters Name Description T Generic Type"
},
- "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.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, ParameterExpression[] parameters, 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. 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, Type itType, 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(ParsingConfig parsingConfig, bool createParameterCtor, ParameterExpression[] parameters, 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. 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(ParsingConfig parsingConfig, bool createParameterCtor, 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 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(ParsingConfig parsingConfig, bool createParameterCtor, Type itType, 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(ParsingConfig parsingConfig, ParameterExpression[] parameters, 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(ParsingConfig parsingConfig, Type resultType, 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(ParsingConfig parsingConfig, Type itType, 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(ParameterExpression[] parameters, 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, ParsingConfig, Boolean, ParameterExpression[], Type, String, Object[]) Parses an expression into a LambdaExpression. Declaration [PublicAPI] public static LambdaExpression ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, ParameterExpression[] parameters, Type resultType, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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(Type, ParsingConfig, Boolean, Type, String, Object[]) Parses an expression into a LambdaExpression. Declaration [PublicAPI] public static LambdaExpression ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, Type resultType, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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(Type, ParsingConfig, Boolean, Type, Type, String, Object[]) Parses an expression into a LambdaExpression. Declaration [PublicAPI] public static LambdaExpression ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, Type itType, Type resultType, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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(Type, 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(Type delegateType, ParsingConfig parsingConfig, ParameterExpression[] parameters, Type resultType, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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(Type, 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(Type delegateType, ParsingConfig parsingConfig, Type resultType, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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(Type, 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(Type delegateType, ParsingConfig parsingConfig, Type itType, Type resultType, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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(Type, 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(Type delegateType, ParameterExpression[] parameters, Type resultType, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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(Type resultType, 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(Type itType, 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(ParsingConfig, Boolean, ParameterExpression[], String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda(ParsingConfig parsingConfig, bool createParameterCtor, ParameterExpression[] parameters, 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 > The generated Expression Type Parameters Name Description TResult The type of the result. | Improve this Doc View Source ParseLambda(ParsingConfig, Boolean, String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda(ParsingConfig parsingConfig, bool createParameterCtor, 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 > The generated Expression Type Parameters Name Description TResult The type of the result. | Improve this Doc View Source ParseLambda(Type, ParsingConfig, Boolean, ParameterExpression[], String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, ParameterExpression[] parameters, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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 > The generated Expression Type Parameters Name Description TResult The type of the result. | Improve this Doc View Source ParseLambda(Type, ParsingConfig, Boolean, String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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 > The generated Expression Type Parameters Name Description TResult The type of the result. | Improve this Doc View Source ParseLambda(ParsingConfig, Boolean, String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda(ParsingConfig parsingConfig, bool createParameterCtor, 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 > The generated Expression Type Parameters Name Description T The it -Type. TResult The type of the result. | Improve this Doc View Source ParseLambda(Type, ParsingConfig, Boolean, String, Object[]) Parses an expression into a Typed Expression. Declaration [PublicAPI] public static Expression> ParseLambda(Type delegateType, ParsingConfig parsingConfig, bool createParameterCtor, string expression, params object[] values) Parameters Type Name Description Type delegateType The delegate type. 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 > The generated Expression Type Parameters Name Description T The it -Type. TResult The type of the result."
},
- "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) Finds the unique types marked with DynamicLinqTypeAttribute. Declaration protected IEnumerable FindTypesMarkedWithDynamicLinqTypeAttribute([NotNull] IEnumerable assemblies) Parameters Type Name Description IEnumerable < Assembly > assemblies The assemblies to process. Returns Type Description IEnumerable < Type > IEnumerable | Improve this Doc View Source GetAssemblyTypesWithDynamicLinqTypeAttribute(IEnumerable) Gets the assembly types annotated with DynamicLinqTypeAttribute in an Exception friendly way. Declaration protected IEnumerable GetAssemblyTypesWithDynamicLinqTypeAttribute([NotNull] IEnumerable assemblies) Parameters Type Name Description IEnumerable < Assembly > assemblies The assemblies to process. Returns Type Description IEnumerable < Type > IEnumerable | Improve this Doc View Source ResolveType(IEnumerable, String) Resolve any type which is registered in the current application domain. Declaration protected Type ResolveType([NotNull] IEnumerable 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, String) Resolve a type by the simple name which is registered in the current application domain. Declaration protected Type ResolveTypeBySimpleName([NotNull] IEnumerable 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.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.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.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(this IQueryable source, string function, 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(this IQueryable source, ParsingConfig config, string predicate, params object[] args) Parameters Type Name Description IQueryable source A sequence whose elements to test for a condition. 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 every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. | 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(this IQueryable source, string predicate, params object[] args) Parameters Type Name Description IQueryable source A sequence whose elements to test for a condition. 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 every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. | Improve this Doc View Source Any(IQueryable) Determines whether a sequence contains any elements. Declaration public static bool Any(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(this IQueryable source, ParsingConfig config, 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(this IQueryable source, 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[]) Determines whether a sequence contains any elements. Declaration public static bool Any(this IQueryable source, string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Boolean true if the source sequence contains any elements; otherwise, false. | Improve this Doc View Source AsDynamicEnumerable(IQueryable) Returns the input typed as IEnumerable of Object ./> Declaration public static IEnumerable AsDynamicEnumerable(this IQueryable source) Parameters Type Name Description IQueryable source The sequence to type as IEnumerable of Object . Returns Type Description IEnumerable < Object > The input typed as IEnumerable of Object . | Improve this Doc View Source Average(IQueryable) Computes the average of a sequence of numeric values. Declaration [PublicAPI] public static double Average(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(this IQueryable source, ParsingConfig config, 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(this IQueryable source, 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[]) Computes the average of a sequence of numeric values. Declaration [PublicAPI] public static double Average(this IQueryable source, string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Double The average of the values in the sequence. | Improve this Doc View Source Cast(IQueryable, ParsingConfig, String) Converts the elements of an IQueryable to the specified type. Declaration public static IQueryable Cast(this IQueryable source, ParsingConfig config, 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(this IQueryable source, 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(this IQueryable source, 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(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(this IQueryable source, ParsingConfig config, 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(this IQueryable source, 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[]) Returns the number of elements in a sequence. Declaration public static int Count(this IQueryable source, string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Int32 The number of elements in the specified sequence that satisfies a condition. | 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(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(this IQueryable source, 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(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(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(this IQueryable source, ParsingConfig config, 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(this IQueryable source, 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[]) Returns the first element of a sequence that satisfies a specified condition. Declaration public static object First(this IQueryable source, string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args Returns Type Description Object The first element in source that passes the test in predicate. | 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(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(this IQueryable source, ParsingConfig config, 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(this IQueryable source, 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[]) 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(this IQueryable source, string predicate, params object[] args) Parameters Type Name Description IQueryable source String predicate Object [] args 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 GroupBy(IQueryable, ParsingConfig, String, IEqualityComparer, 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 public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, IEqualityComparer equalityComparer, 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. IEqualityComparer equalityComparer The comparer to use. 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. | 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(this IQueryable source, ParsingConfig config, string keySelector, 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(this IQueryable source, ParsingConfig config, string keySelector, 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, IEqualityComparer) 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(this IQueryable source, ParsingConfig config, string keySelector, string resultSelector, IEqualityComparer equalityComparer) 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. IEqualityComparer equalityComparer The comparer to use. Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. | Improve this Doc View Source GroupBy(IQueryable, ParsingConfig, String, String, IEqualityComparer, 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 public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, string resultSelector, IEqualityComparer equalityComparer, 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. IEqualityComparer equalityComparer The comparer to use. 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. | 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(this IQueryable source, ParsingConfig config, string keySelector, 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, IEqualityComparer, 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 public static IQueryable GroupBy(this IQueryable source, string keySelector, IEqualityComparer equalityComparer, params object[] args) Parameters Type Name Description IQueryable source String keySelector IEqualityComparer equalityComparer Object [] args Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. | Improve this Doc View Source GroupBy(IQueryable, 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(this IQueryable source, string keySelector, params object[] args) Parameters Type Name Description IQueryable source String keySelector Object [] args Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. | Improve this Doc View Source GroupBy(IQueryable, 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(this IQueryable source, string keySelector, string resultSelector) Parameters Type Name Description IQueryable source String keySelector String resultSelector Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. | Improve this Doc View Source GroupBy(IQueryable, String, String, IEqualityComparer) 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(this IQueryable source, string keySelector, string resultSelector, IEqualityComparer equalityComparer) Parameters Type Name Description IQueryable source String keySelector String resultSelector IEqualityComparer equalityComparer Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. | Improve this Doc View Source GroupBy(IQueryable, String, String, IEqualityComparer, 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 public static IQueryable GroupBy(this IQueryable source, string keySelector, string resultSelector, IEqualityComparer equalityComparer, object[] args) Parameters Type Name Description IQueryable source String keySelector String resultSelector IEqualityComparer equalityComparer Object [] args Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. | Improve this Doc View Source GroupBy(IQueryable, 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(this IQueryable source, string keySelector, string resultSelector, object[] args) Parameters Type Name Description IQueryable source String keySelector String resultSelector Object [] args Returns Type Description IQueryable A IQueryable where each element represents a projection over a group and its key. | Improve this Doc View Source GroupByMany(IEnumerable, Func[]) 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 GroupByMany(this IEnumerable source, params Func[] keySelectors) Parameters Type Name Description IEnumerable source A IEnumerable whose elements to group. Func [] keySelectors Lambda expressions to specify the keys for each element. Returns Type Description IEnumerable < GroupResult > A IEnumerable 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(IEnumerable, 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 GroupByMany(this IEnumerable source, ParsingConfig config, params string[] keySelectors) Parameters Type Name Description IEnumerable source A IEnumerable 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