Development With A Dot

Blog on development in general, and specifically on .NET

Sponsors

My Friends

My Links

Permanent Posts

Portuguese Communities

Browse by Tags

All Tags » LINQ (RSS)
ODAC Entity Framework and LINQ Beta Released
At last! Get it from here .
Basic Logical Operations with LINQ Expressions
How to implement basic logical operations (AND, OR, NOT, XOR) with LINQ expressions: public static class ExpressionExtensions { public static Expression<Func<T, Boolean>> Or<T>(this Expression<Func<T, Boolean>> expr, Expression<Func<T...
Posted: Dec 14 2010, 12:11 PM by Ricardo Peres | with 3 comment(s)
Filed under: ,
Include LINQ Extension
Updated for NHibernate Updated thanks to a comment by Samuel Jack! Thanks, Samuel! As you know, different LINQ O/RMs offer different ways to eagerly fetch associations: NHibernate offers several methods, including the HQL fetch keyword, extension method...
Dynamic LINQ Methods
Continuing the Dynamic LINQ series, here are some hopefuly useful methods for performing LINQ queries in IQueryable or IQueryable<T> object, with String parameters. The available methods, so far, are: GroupBy OrderBy Skip Take WhereEquals WhereNotEquals...
Enhanced Dynamic Filtering
Remember my last post on dynamic filtering? Well, this time I'm extending the code in order to allow two levels of querying: Match type, represented by the following options: public enum MatchType { StartsWith = 0, Contains = 1 } And word match: public...
Dynamic Filtering
Continuing my previous posts on dynamic LINQ , now it's time for dynamic filtering. For now, I'll focus on string matching. There are four standard operators for string matching, which both NHibernate, Entity Framework and LINQ to SQL recognize: Equals...
Dynamic LINQ in an Assembly Near By
You may recall my post on Dynamic LINQ . I said then that you had to download Microsoft's samples and compile the DynamicQuery project (or just grab my copy ), but there's another way. It turns out Microsoft included the Dynamic LINQ classes in the System...
Dynamic Paging and Sorting
Since .NET 3.5 brought us LINQ and expressions, I became a great fan of these technologies. There are times, however, when strong typing cannot be used - for example, when you are developing an ObjectDataSource and you need to do paging having just a...
Dynamic LINQ
Included with Microsoft's .NET samples, which you can get here lies an hidden gem: a set of method extensions for IQueryable and IQueryable<T> that allow execution of lambda expressions specified as strings, which is handy if you want to generate...
Posted: Dec 03 2009, 12:15 PM by Ricardo Peres | with 19 comment(s)
Filed under: ,
More Posts