Пример #1
0
 public ServiceBase(SpiderEntities dbContext)
 {
     this.Db  = dbContext;
     _dbSet   = Db.Set <TEntity>();
     _success = new OperationResult {
         IsSuccess = true
     };
     _fail = new OperationResult {
         IsSuccess = false
     };
 }
Пример #2
0
 public UserService(SpiderEntities dbContext)
     : base(dbContext)
 {
 }