如果我有一个包含列表的对象。我应该将该列表存储在与对象相同的文档中,还是将该列表存储在带有引用的单独文档中。或者我应该将它存储在两者中,也不是照片列表对象的大小会增加,感谢您的任何建议。
public class Album
{
public string Name { get; set; }
//Should I store this inside of the album document?
public List<Photo> Photos {get; set; }
}
public class Photo
{
public string Title { get; set; }
}