protected virtual void Dispose(bool disposing)
 {
     if (disposing == true)
     {
         entities = null;
     }
 }
Exemple #2
0
 public ServiceTransaksi()
 {
     entities             = new SimpedaEntities();
     TransaksisRepository = new TransaksisRepository(entities);
 }
Exemple #3
0
 public TransaksisRepository(SimpedaEntities entities)
 {
     this.entities = entities;
 }
 public SepedasRepository(SimpedaEntities dbEntities)
 {
     this.db = dbEntities;
 }
 public ServiceSepeda()
 {
     db = new SimpedaEntities();
     SepedasRepository = new SepedasRepository(db);
 }
 public MahasiswaRepository(SimpedaEntities dbEntities)
 {
     this.db = dbEntities;
 }
 public TransaksisRepository(SimpedaEntities entities)
 {
     this.entities = entities;
 }
 public ServiceMahasiswa()
 {
     entities            = new SimpedaEntities();
     MahasiswaRepository = new MahasiswaRepository(entities);
 }
 public MahasiswaRepository(SimpedaEntities dbEntities)
 {
     this.db = dbEntities;
 }
 public ServiceTransaksi()
 {
     entities = new SimpedaEntities();
     TransaksisRepository = new TransaksisRepository(entities);
 }
 public SepedasRepository(SimpedaEntities dbEntities)
 {
     this.db = dbEntities;
 }
 public ServiceMahasiswa()
 {
     entities = new SimpedaEntities();
     MahasiswaRepository = new MahasiswaRepository(entities);
 }
 public ServiceSepeda()
 {
     db = new SimpedaEntities();
     SepedasRepository = new SepedasRepository(db);
 }