I have a list of objects. These objects are made up of a custom class that basically contains two string fields String1 and String2.
I wish to return enumerable items in order to bind the nested grid. Top grid displays Book Title and the nested grid displays the authors list of that book.
I have a classic Order -> Order Row scenario something like this: public class Order { public int Id { get; set; }
For some reason, my call to IEnumerable.Where() using String.StartsWith() appears to be giving different results depending o开发者_Go百科n whether it\'s being used in LINQ-to-SQL or standard LINQ (-to
Ok, I asked this question before, but deleted it as the way I went about describing my problem was wrong.
I am trying to AVERAGE 6 different fields on a DataTable, but wit开发者_JAVA百科hout grouping. Just the AVERAGE. I have found a couple of examples in C#, but can\'t find any examples for how to do thi
is it possible to add an extension method to IQueryable<T> and then, for my Linq2Sql or EF or NHibernate or LinqToObjects, define it\'s functionality / how each repos开发者_运维知识库itory will
I have an Customer collection. Inside Customer I have another collection called Orders. Order have Name, OrderDate, PurchaseID.
Given the following structure... class Foo { public string Category { get; set; } public string Code { get; set; }
I encountered an interesting thing today that I have never noticed before.It appears that SQL and LINQ order AlphaNumeric strings differently.