Document structure for RavenDB
问题 I have class class UserActivity { private IList<Activity> _activities = new List<Activity>(); public void AddActivity(Activity activity) { _activities.Add(activity); } public IEnumerable<Activity> ActivityHistory { return _activities; } } Activity history can have a lot of elements. I wish store UserActivity in RavenDB with history. But, when I get UserActivity first time from DB, ActivityHistory should have last 10 items, for example, and I should have possibility load other items or add new