Monthly Archives: February 2014

Interface implementation delegation

My friend Simon proposed a very interesting new feature for C# IMO yesterday for delegating interface implementation to a class field. You can download his documentation here.   And so, of course, people who know me know that I love … Continue reading

Posted in 16402, 7672 | 2 Comments

WAQS Querying: With on sub types (inheritance)

7 reasons to use WAQS WAQS documentation   I already wrote about the With method. However, I wanted to have something equivalent to my inherited include for the With method. So for example, imagine that we have a calculated property … Continue reading

Posted in 12253, 16868 | Leave a comment

WAQS Querying: Include and inheritance

7 reasons to use WAQS WAQS documentation   I already wrote on WAQS Include method. However, there is one more point you can’t do with an easy way with EF. Imagine that you have an entity Person and you have … Continue reading

Posted in 12253, 16868, 7674 | Leave a comment

WAQS Querying: Load calculated properties

7 reasons to use WAQS WAQS documentation   I previously wrote about how to query calculated properties with WAQS (Querying on calculated properties and Avoid useless data loading using With method) but sometimes you want to got the property calculation … Continue reading

Posted in 16868 | Leave a comment

WAQS Querying: Contains method support

7 reasons to use WAQS WAQS documentation   LINQ To Entities supports Contains method but only on scalar types. LINQ To WAQS also supports it for entity types. So, if you use a contains on an entity type collection, LINQ … Continue reading

Posted in 12253, 16868, 7674 | Leave a comment

WAQS Querying: IncludeFor

7 reasons to use WAQS WAQS documentation   Imagine that you want to calculate a calculated property in memory or you need to execute a service method. As I previously explain, I don’t want to have lazy loading. So it’s … Continue reading

Posted in 12253, 16868 | Leave a comment