예제 #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);
             }
         }
     }
 }
예제 #2
0
 public ScoreServer()
 {
     entities = new TKEntities();
 }
예제 #3
0
 public EventDataServer()
 {
     entities = new TKEntities();
 }
예제 #4
0
 public MemberDataServer()
 {
     entities = new TKEntities();
 }