public void FillCache() { var ctx = GetContext(); foreach (var dalGroup in ctx.Groups.Where(x => 1 == 1)) { // This will put the object in the cache var group = new Group(dalGroup); } }
internal void AddChild(Group group) { GroupChildren.Add(group); }