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