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
Nullable types redux  12 Oct 2019
C# 8 and .NET Core 3.0  28 Sep 2019
Commands and CommandBinding  21 Sep 2019
Debugging word selection  14 Sep 2019
ViewModel Subscriptions  31 Aug 2019
Redux Subscriptions  25 Aug 2019
Dependency Injection: Views  17 Aug 2019
Dependency Injection: ViewModels  10 Aug 2019
Dependency Injection: Core  27 Jul 2019
Integration Testing  20 Jul 2019
More csharp posts »
Archives
October 2010
2010