My Document structure is as follow.
public class Person{
string id,
string name,
list<string> Addresses. // stores id's from Address document
//bsonignore
Address AddressDetail
}
public class Address{
string id,
string address1,
string address2
}
When I load person details , I want to load all the addresses based on id’s present in the List of Person document.
Either MongoDB way or C# Way will atleast give me a hint to resolve this.