Vote UpVote

Grouping in DA LINQ

RemObjects Blogs – I would like to give you a preview of the next release of DataAbstract for .NET, which will provide grouping support in DA LINQ (and in DA SQL as well). You will be able to write queries like this: A simple GROUP BY with an aggregate function Count: var q = from x in DataModule.Instance.DataAdapter.GetTable() group x by x.Client into g select new { Client = g.Key, OrderCount = g.Count() };   return q.ToList(); This query will be translated into the followig DA SQL query: SELECT [t0].[Client], COUNT(*) AS [agg1] FROM [Orders] [t0] ...
Favorite? Off-Topic? Alexander @ 2011-08-05 14:41


Visits: 675
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Jim McKeeth
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)