Example #1
0
 public ConfigHelper(DbAccess.DbFrameworkContext db, Services.SvrModels.SvrUserIdentifier svrUser)
 {
     this.DbContext = db;
     this.SvrUser   = svrUser;
 }
Example #2
0
 public UserLoginHelper(DbAccess.DbFrameworkContext db, SvrModels.SvrUserIdentifier svrUser)
 {
     this.DbContext = db;
     this.SvrUser   = svrUser;
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="qwfContext">框架DB的上下文</param>
 /// <param name="svrUser">服务调用者标识</param>
 public UserHelper(DbAccess.DbFrameworkContext qwfContext, Services.SvrModels.SvrUserIdentifier svrUser)
 {
     this.DbContext = qwfContext;
     this.SvrUser   = svrUser;
 }
Example #4
0
 public User(DbAccess.T_QWF_User dbModel, DbAccess.DbFrameworkContext db, UserHelper helper)
 {
     //初始化数据
     this.helper  = helper;
     this.dbModel = dbModel;
 }