I am looking for a Monodevelop module which would allow me to run ADO.NET Entity framework-like syntax. I have installed MySql.Data and successfully run stuff like string connStr = "server=localhost;user=root;database=dbname;port=3306;password=mypassword;"; MySqlConnection conn = new MySqlConnection (connStr); which allows me to run raw sql queries to the database but would like to know what to load and how to use to have thing开发者_开发技巧s like db.Select and db.SaveChanges possible. Thank you.
Update. I use monodevelop with mono, not with /.net/.
You could use the Spring.NET framework with Hibernate ORM - perhaps a little bit of overkill, but worth a try!
http://www.springframework.net/doc-latest/reference/html/orm.html
Since mono doesn't support Entity framework you can't use it's ORM syntax to work with databases. There are however other ORM tools like DbLinq (preview version should be included in mono) or you can try to look at this website and find out if some of the listed tools supports mono.
精彩评论