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
Browsers and WSL  31 Mar 2024
Factory methods and functions  05 Mar 2023
Using Constructors  27 Feb 2023
An Inconvenient API  18 Feb 2023
Method Archetypes  11 Sep 2022
A bash puzzle, solved  02 Jul 2022
A bash puzzle  25 Jun 2022
Improve your troubleshooting by aggregating errors  11 Jun 2022
Improve your troubleshooting by wrapping errors  28 May 2022
Keep your promises  14 May 2022
Archives
October 2010
2010