Beispiel #1
0
 public DataBase(string connectionString)
 {
     _connectionString = connectionString;
     MRCities          = new MRCities(connectionString);
     MRContributions   = new MRContributions(connectionString);
     MRQuotas          = new MRQuotas(connectionString);
     MRUsers           = new MRUsers(connectionString);
 }
Beispiel #2
0
 public IList <City> GetAllCities()
 {
     return(MRCities.GetAllCities());
 }
Beispiel #3
0
 public City GetCity(int id)
 {
     return(MRCities.GetCity(id));
 }