WebMatrix.Data on Mono
Initial reading on what is WebMatrix can be found on Scott Guthrie blog.
After team WebMatrix was formed this week, I have reimplemented the Data part of WebMatrix, a cute layer on top of ADO.NET with support for the dynamic
keyword (C# 4) so that you can directly call property equivalent to your column names.
Bonus point is that even though is has been shipped with a heavy slant towards SQL Server (and its new compact counterpart) since it’s implemented on top of stock System.Data.Common we can use any provider with it including the great old-fashioned SQlite provider.
Say I have the following SQlite database:
That is populated with these values:
You can now write code like this to query the database:
WebMatrix.Data assembly is now available when you compile Mono from Git master.