public class User {
public string Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
}
public class Company {
public string Id { get; set; }
public string Name { get; set; }
}
"Users": [
{
"Id": "users/1",
"LicenseValidUntil": "2014-02-28T....Z",
"Locked": false
},
{
"Id": "users/4",
"LicenseValidUntil": "2014-03-10T....Z",
"Locked": false
}
]
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Yes. Model the relationship explicitly as a document or part of a doc, as Oren suggested, rather than implying on either side.