- Customizing LINQ translation
Explains how to customize compilation to SQL and write custom LINQ expression rewriters.
- Joins, casts, references, inheritance and subqueries in LINQ
Explains how particular constructions are translated to SQL.
Both chapters must be really interesting. For example, custom LINQ rewriters allow to implement such methods, as .WhereAllowed(this IQueryable<T>
query, Permission permission, Principal principal).