Beispiel #1
0
 public UnitOfWork(SMSContext context)
 {
     _db = context;
 }
Beispiel #2
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="dbContext">dbcontext</param>
 public GenericRepository(SMSContext dbContext)
 {
     this._context = dbContext;
 }
Beispiel #3
0
 public UnitOfWork()
 {
     _db = new SMSContext();
 }