public KSPMembershipExProvider() { _roleRepository = new Sys_RoleRepository(); _uirRepository = new Sys_UserInRoleRepository(); _rifRepository = new Sys_RoleInFunctionRepository(); _frRepository = new Sys_FunctionRepository(); _applicationName = Config.GetApplicationName(); }
public KSPMembershipExProvider() { _roleRepository = new Sys_RoleRepository(); _uirRepository = new Sys_UserInRoleRepository(); _rifRepository = new Sys_RoleInFunctionRepository(); _frRepository = new Sys_FunctionRepository(); _applicationName = Config.GetApplicationName(); }
private void InitRepostory() { _roleRepository = new Sys_RoleRepository(ConnectionStringName, KSPDBType); _urRepository = new Sys_UserInRoleRepository(ConnectionStringName, KSPDBType); }
public Sys_RoleService(ISys_RoleRepository iRepository) : base(iRepository) //IOC注入Repository { m_iRepository = iRepository; }
public Sys_RoleService(ISys_RoleRepository Sys_RoleRepositoryS) : base(Sys_RoleRepositoryS) { _Sys_RoleRepositoryS = Sys_RoleRepositoryS; }
private void InitRepostory() { _roleRepository = new Sys_RoleRepository(ConnectionStringName, KSPDBType); _urRepository = new Sys_UserInRoleRepository(ConnectionStringName, KSPDBType); }