/// <summary> /// Initializes a new instance of the <see cref="T:LoginBLL"/> class. /// </summary> /// <param name="connectionName">Name of the connection.</param> private LoginBLL(string connectionName) { userDao = UserDAO.GetInstance(connectionName); userOrgDao = UserOrgDAO.GetInstance(connectionName); userRoleDao = UserRoleDAO.GetInstance(connectionName); userRegionDao = UserRegionDAO.GetInstance(connectionName); userRegionRangeDao = UserRegionRangeDAO.GetInstance(connectionName); userOrgRoleDAO = UserOrgRoleDAO.GetInstance(connectionName); userSystemDao = UserSystemDAO.GetInstance(connectionName); }
/// <summary> /// Initializes a new instance of the <see cref="T:LoginBLL"/> class. /// </summary> private LoginBLL() { userDao = UserDAO.GetInstance(); userRoleDao = UserRoleDAO.GetInstance(); userOrgDao = UserOrgDAO.GetInstance(); userRegionDao = UserRegionDAO.GetInstance(); userRegionRangeDao = UserRegionRangeDAO.GetInstance(); userOrgRoleDAO = UserOrgRoleDAO.GetInstance(); userAreaDAO = UserAreaDAO.GetInstance(); userSystemDao = UserSystemDAO.GetInstance(); }