Over on The Codeface, Mark Rendle has a very interesting idea: Simple.Data

To achieve the same task with Simple.Data, you can do this:

var db = Database.Open(); // Connection specified in config.
var user = db.Users.FindByNameAndPassword(name, password);

That’s pretty neat, right? So, did we have to generate the Database class and a bunch of table classes to make this work? No.

So, how does Simple.Data work? By leveraging the capabilities of C# 4.0 in some very clever ways.

Go and read about Simple.Data to find out more.

Comments

blog comments powered by Disqus
Next Post
A User Interface Stack Exchange  22 Oct 2010
Prior Post
A New Version of FxCop  17 Oct 2010
Related Posts
Queue Testing  08 Dec 2018
Creating Branching Nodes  01 Dec 2018
Two Dual Item Queues  24 Nov 2018
Simple Queues  17 Nov 2018
Enqueuing Values  10 Nov 2018
Dequeuing Values  03 Nov 2018
Designing the External API  27 Oct 2018
Introducing the Priority Queue  20 Oct 2018
A better approach to reflection  13 Oct 2018
Avoiding Magic Strings  06 Oct 2018
More csharp posts »
Archives
October 2010
2010