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); }
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; }
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; }
public HomeController(IUserInfoDAL userDal, IHeroDAL heroDal) { this.userDal = userDal; this.heroDal = heroDal; }
public UserController(IUserInfoDAL userInfoDAL) { this.userInfoDAL = userInfoDAL; }
public UserInfoBusiness(IUserInfoDAL userInfoDal) { _userInfoDal = userInfoDal; }
static UserInfoDAL() { m_Instance = new UserInfoDAL(); }
public HomeController(IUserInfoDAL iuserinfodal, IUsersBLL usersBll) { _iuserInfoDal = iuserinfodal; _usersBll = usersBll; }
public HomeController(IUserInfoDAL iuserinfodal,IUsersBLL usersBll) { _iuserInfoDal = iuserinfodal; _usersBll = usersBll; }
public UserAccountBLL(IUserInfoDAL userInfoDal, IUserInfoAccountDAL userInfoAccountDal) { _userInfoDal = userInfoDal; _userInfoAccountDal = userInfoAccountDal; }
static MongoDBUserInfoDAL() { m_Instance = new MongoDBUserInfoDAL(); }