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
Short-circuiting validation  11 Aug 2018
Aggregation of validation  04 Aug 2018
Recovery of validation types  28 Jul 2018
Basic validation  21 Jul 2018
Why we need better validation  07 Jul 2018
A question of struct performance  30 Jun 2018
Equality has Symmetry  17 Mar 2018
Type Miscellany  05 Mar 2017
Testing Immutable Types  25 Feb 2017
Factory Methods  18 Feb 2017
More csharp posts »
Archives
October 2010
2010