I've seen that ADO.NET 2.0 is compatible with Mono but I can't found any example of that in the web ?
+1
A:
Here is ADO.NET example with MySQL database. If you are using MonoDevelop, then just add reference to MySQL connector dll. There are also some examples about how to use the connector.
DbLinq should be compatible with mono 2.4 I would say, however it's still in preview release, so it's not ready for production use.
Tomi
2010-03-25 22:07:15
I don't think it's ADO.NET because we don't have the layer of persistance.
2010-03-26 15:56:01
ADO.NET is not a layer of persistence nor ORM. From wiki page: "ADO.NET is a set of computer software components that can be used by programmers to access data and data services. ... It is commonly used by programmers to access and modify data stored in relational database systems ...". From MySQL .Net connector page: "... It implements the required ADO.NET interfaces and integrates into ADO.NET aware tools. ... Connector/NET is a fully managed ADO.NET driver written in 100% pure C#."
Tomi
2010-03-26 17:25:45
As I said earlier, you are probably looking for Linq to SQL or Entity Framework implementations. Former is in mono world known as DbLinq (currently in preview release since mono 2.6) and latter is not implemented.
Tomi
2010-03-26 17:29:48
I think I use it unwittingly ;-) It's sure I want to employ Linq to SQL but unfortunately in Ubuntu synaptic has just the mono 2.4 version :-(
2010-03-26 17:45:53