zzz projects Dynamic LINQ
Home Getting Started Knowledge Base Online Examples  GitHub
  • Home
  • Getting Started
  • Knowledge Base
  • Online Examples
  •  GitHub
  •   Download  

Dynamic LINQ - Knowledge Base (KB)

11 results for: in tag: linq-to-objects

How to get Lambda in LINQ to actually filter for dynamic linq

Example-I have a person class ...Public Class Person Private _fname As String Public Property Fname() As String Get Return _fname End Get Set(ByVal value As String) _fname = value End Set End Property Private _lname As Str...
dynamic-linq linq-to-objects vb.net
asked by Eric

Dynamic where clause in LINQ to Objects

I know there are a lot of examples of this on the web, but I can't seem to get this to work....Let me try to set this up, I have a list of custom objects that I need to have limited on a range of values. ...I have a sort variable that changes based on so...
c# dynamic-linq linq linq-to-objects
asked by Clarence Klopfstein

Create new Linq SelectMany extension method

I am using Linq.Dynamic. I have already added another SelectMany extension to all for creating a new anonymous object with the data. But, I have ran into another issue that I can not seem to solve. ...I want to have extension method chaining as follows, b...
dynamic-linq linq linq-to-objects
asked by Dan

Linq.Dyanmic GroupJoin implementation

I am working on creating an Extension Method in the Linq.Dynamic project for GroupJoin. But, for some reason it will not run. The signatures seem to match....public static IQueryable GroupJoin(this IQueryable outer, IEnumerable inner, string outerSelector...
.net c# dynamic-linq linq linq-to-objects
asked by Dan

LINQ DynamicLibrary: How to extract count and list from IQueryable

I have started experimenting a bit with the LINQ DynamicLibrary. I am trying to replace a bunch of LINQ statements with a few or just one Dynamic LINQ query. My existing static query is as follows:...private List<TicketChartData> GenerateImpl(IList<Servic...
c# dynamic-linq linq linq-to-objects
asked by Sudarshan chandan

Type arguments cannot be inferred from usage, Can anyone help please?

I am trying to use Dynamic Linq (the one published by ScottGu) to do a GroupBy (lambda expression). I have an object. And i am doing AsQueryable. THis is what i have.....var result = Items.AsQueryable().GroupBy("DeliveryDate"); ...but it gives me an error...
c# compiler-errors dynamic-linq linq linq-to-objects
asked by Martin

LINQ (Dynamic): OrderBy within a GroupBy using dynamic linq?

I had the following query using normal linq and it was working great (using anonymous type),... var result = from s in Items group s by s.StartTime into groupedItems select new {groupedItems.Key, Items= groupedItems.OrderBy(x =...
dynamic-linq linq linq-to-objects
asked by Martin

How to use LINQ where clause for filtering the collection having dynamically generated type

I need to filter the ObservableCollection using LINQ Where clause in my Silverlight application....The object type is dynamically created using method provided in following url. ...http://mironabramson.com/blog/post/2008/06/Create-you-own-new-Type-and-use...
dynamic-linq linq linq-to-objects observablecollection silverlight-4.0
asked by HBA

Call function in dynamic linq

I'm trying to call a function in a dynamic linq select statement, but im getting error:...No property or field 'A' exists in type 'Tuple2' ...Example code:...void Main() { var a = new Tuple<int, int>(1,1); var b = new[]{ a }; var q = b.AsQuery...
c# dynamic-linq linq linq-to-objects
asked by Magnus

How can I use System.Linq.Dynamic to check if a JSON object matches a predicate

I am trying to match a complex json-object to a user-defined filter/predicate by using Json.NET and System.Linq.Dynamic. Here is my code:...var json = @"{""Name"":""Jane Doe"",""Occupation"":""FBI Consultant""}"; dynamic person = JObject.Parse(json); var ...
c# dynamic-linq json.net linq linq-to-objects
asked by Espo

How to dynamically build and store complex linq queries against a list of hierarchical objects?

I have a list of objects in a hierarchical structure. I want to build complex LINQ queries against that object list based on "conditions" a client company sets and are stored in the database. So I need to build these at run time, but because they will be ...
c# dynamic-linq linq linq-to-objects
asked by Jeff

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...