public AccountController()
 {
     _context = new EfCore();
 }
예제 #2
0
 public RepositoryBase(EfCore ef)
 {
     _context = ef;
     Entity   = _context.Set <T>();
 }
예제 #3
0
 public Dao(ISession session)
 {
     this.session = session;
     _context     = new EfCore();
 }
예제 #4
0
 public Dao(ISession session, int commercantid)
 {
     this.session      = session;
     this.commercantId = commercantid;
     _context          = new EfCore();
 }
 public ServiceController()
 {
     _context = new EfCore();
 }