I am new in Azure , I am going to design a schema of One-To-Many relationship table.
For example :
User and Products , one user can own many products.
but I don't know how does Android Azure Client handle data to the backend(.Net)
in .Net , we use Entity Framework so we would design a class such like this :
class User{
...
public ICollection<Product> products {get;set;}
}
class Product{
...
public User user {get;set;}
}
to indicate intuitive One-To-Many relationship .
but how does Azure Android client handle the class and the properties to this?
Can I define in a same way on Entity Framework ??
otherwise , I will define like this :
class User{
int userId;
...
}
class Product{
...
int userId;
}
correspond to the schema defined in my database ... to indicate a One-To-Many Total relationship ....
sorry for my opaque description in English ...
Which way is more appropriate?
(and feel free to improve my description)