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...
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...
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...
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...
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...
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...
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 =...
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...
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...
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 ...
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 ...