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 <Contribution> GetContributionByCity(int cityId)
 {
     return(MRContributions.GetContributionByCity(cityId));
 }
Beispiel #3
0
 public Contribution GetContribution(int id)
 {
     return(MRContributions.GetContribution(id));
 }