Exemplo n.º 1
0
 public LocationDataServer()
 {
     entities = new TKEntities();
     if (locationsByName == null) {
         locationsByName = new Dictionary<string, Location>();
         lock (locationsByName) {
             foreach (var loc in entities.Locations) {
                 locationsByName.Add(loc.Name, loc);
             }
         }
     }
 }
Exemplo n.º 2
0
 public ScoreServer()
 {
     entities = new TKEntities();
 }
Exemplo n.º 3
0
 public EventDataServer()
 {
     entities = new TKEntities();
 }
Exemplo n.º 4
0
 public MemberDataServer()
 {
     entities = new TKEntities();
 }