Пример #1
0
 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);
     }
 }
Пример #2
0
 internal void AddChild(Group group)
 {
     GroupChildren.Add(group);
 }