user649198
user649198

Reputation:

Monodevelop module - equivalent to ADO.NET Entity framework

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 things like db.Select and db.SaveChanges possible. Thank you.

Update. I use monodevelop with mono, not with /.net/.

Upvotes: 1

Views: 2673

Answers (2)

yojimbo87
yojimbo87

Reputation: 68403

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.

Upvotes: 0

Tobias Schittkowski
Tobias Schittkowski

Reputation: 2251

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

Upvotes: 1

Related Questions