예제 #1
0
        public static IUserInfoDAL GetUserInfoDal()
        {
            string          path        = AppDomain.CurrentDomain.BaseDirectory + @"\bin\" + ConfigurationManager.AppSettings["InfoDAL"];
            Assembly        asm         = Assembly.LoadFile(path);
            Type            DALtype     = asm.GetType("OA.EFDAL.UserInfoDAL");
            ConstructorInfo contstrutor = DALtype.GetConstructor(new Type[] { });
            IUserInfoDAL    DAL         = contstrutor.Invoke(new object[] {}) as IUserInfoDAL;

            return(DAL);
        }
예제 #2
0
 public UserOperationBLL(IDataOperationDAL dataOperation,IRelationDAL relationDAL,IUserInfoDAL userInfoDAL,IWorkFlowActivityDAL workFlowActivityDAL,
    IWorkFlowActivityLogDAL workFlowActivityLogDAL,IUserGroupDAL userGroupDAL,IRoleInfoDAL roleInfoDAL,IWorkflowStateInfoDAL workflowStateInfoDAL, IOperationActionInfoDAL operationActionInfoDAL)
 {
     DataOperationInstance = dataOperation;
     RelationDALInstance = relationDAL;
     UserInfoDALInstance = userInfoDAL;
     WorkFlowActivityDALInstance = workFlowActivityDAL;
     WorkFlowActivityLogDALInstance = workFlowActivityLogDAL;
     UserGroupDALInstance = userGroupDAL;
     RoleInfoDALInstance = roleInfoDAL;
     WorkflowStateInfoDALInstance = workflowStateInfoDAL;
     OperationActionInfoDALInstance = operationActionInfoDAL;
 }
예제 #3
0
 public UserOperationBLL(IDataOperationDAL dataOperation, IRelationDAL relationDAL, IUserInfoDAL userInfoDAL, IWorkFlowActivityDAL workFlowActivityDAL,
                         IWorkFlowActivityLogDAL workFlowActivityLogDAL, IUserGroupDAL userGroupDAL, IRoleInfoDAL roleInfoDAL, IWorkflowStateInfoDAL workflowStateInfoDAL, IOperationActionInfoDAL operationActionInfoDAL)
 {
     DataOperationInstance          = dataOperation;
     RelationDALInstance            = relationDAL;
     UserInfoDALInstance            = userInfoDAL;
     WorkFlowActivityDALInstance    = workFlowActivityDAL;
     WorkFlowActivityLogDALInstance = workFlowActivityLogDAL;
     UserGroupDALInstance           = userGroupDAL;
     RoleInfoDALInstance            = roleInfoDAL;
     WorkflowStateInfoDALInstance   = workflowStateInfoDAL;
     OperationActionInfoDALInstance = operationActionInfoDAL;
 }
예제 #4
0
 public HomeController(IUserInfoDAL userDal, IHeroDAL heroDal)
 {
     this.userDal = userDal;
     this.heroDal = heroDal;
 }
예제 #5
0
 public UserController(IUserInfoDAL userInfoDAL)
 {
     this.userInfoDAL = userInfoDAL;
 }
예제 #6
0
 public UserInfoBusiness(IUserInfoDAL userInfoDal)
 {
     _userInfoDal = userInfoDal;
 }
예제 #7
0
 static UserInfoDAL()
 {
     m_Instance = new UserInfoDAL();
 }
예제 #8
0
 public HomeController(IUserInfoDAL iuserinfodal, IUsersBLL usersBll)
 {
     _iuserInfoDal = iuserinfodal;
     _usersBll     = usersBll;
 }
예제 #9
0
 public HomeController(IUserInfoDAL iuserinfodal,IUsersBLL usersBll)
 {
     _iuserInfoDal = iuserinfodal;
     _usersBll = usersBll;
 }
예제 #10
0
 public UserAccountBLL(IUserInfoDAL userInfoDal, IUserInfoAccountDAL userInfoAccountDal)
 {
     _userInfoDal = userInfoDal;
     _userInfoAccountDal = userInfoAccountDal;
 }
예제 #11
0
 static MongoDBUserInfoDAL()
 {
     m_Instance = new MongoDBUserInfoDAL();
 }
예제 #12
0
 public UserAccountBLL(IUserInfoDAL userInfoDal, IUserInfoAccountDAL userInfoAccountDal)
 {
     _userInfoDal        = userInfoDal;
     _userInfoAccountDal = userInfoAccountDal;
 }