Any recommendations for an ORM that will support relationships for Windows 8 / WP8?
class Person {
int id;
int Name;
List<Address> Addresses;
}
class Address {
int id;
string Street;
string Country;
}
If you do create table on person it should create the Address table too, and any select queries on Person would also return the associated address. I know EF/nHibernate do this, but unfortunately we don’t have System.Data anymore with WinRT.
You’re best option is probably to use sqlite-net which is a micro ORM for SQLite
Tim Heuer has an article on this here.
http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx