Adding Linq support to NPersist
I’m currently adding some real Linq support to NPersist. I did start on it when the first public previews of Linq was released, but then I was kind of stuck in World of Warcraft for a while (OK,...
View ArticleMore Linq support for NPersist
I’ve added a bit more Linq support for NPersist today. The nice thing is that we can “cheat” in our Linq provider, we can transform our Linq queries into NPath queries. Thus, I don’t have to touch the...
View ArticleLinq to NPersist to MS Access
I’ve finally seen my own Linq support Live :-P Untill now I’ve only been emitting NPath quereis and verified that NPath is correct. The reason I havent tested it live untill now is that I only have my...
View ArticleLinq Expressions – Access private fields
In this post I will show how you can use Linq Expressions to access private(or public) class fields instead of using Reflection.FieldInfo. Normally when you want to access a field by its name on a type...
View ArticleLinq Expressions – Calculating with generics
You can find the full code for this post here: http://www.puzzleframework.com/Roger/GenericMath.cs.txt The .NET framework lacks support for calculating with generic types. There is no way to ensure...
View ArticleLinq Expressions – Creating objects
This post shows how you can use Linq expression trees to replace Activator.CreateInstance. but first, please note that this is a followup on Oren’s post so read it before you read mine:...
View ArticleLinq to objects for .NET 2 available
Patrik Löwendahl blogged about using C#3 features in .NET 2 via VS.NET 2008 a few days ago: http://www.lowendahl.net/showShout.aspx?id=191 There are quite a few of the new features that works straight...
View ArticleLambda expressions are not delegates
There is allot of confusion gotesing on in the .NET community when it comes to Lambda expressions. Allot of blog posts out there claiming that Lambdas are simply another way to write delegates, or...
View ArticleNWorkspace / Linq Workspace Followup
I’m still playing around with the outcome my Linq Workspace Experiment. And I have to say that I’m fairly pleased with the result, it’s only a handful of code (less than 100 LoC) but it makes testing...
View ArticleWhy mapping DTOs to Entities using AutoMapper and EntityFramework is horrible
One of the most common architectures for web apps right now is based on passing DataTransferObjects(DTOs) to and from CRUD services that updates your business/domain entities using tools like...
View Article
More Pages to Explore .....