コード例 #1
0
ファイル: SRoleService.cs プロジェクト: manlsc/ESC.Core
 public SRoleService()
 {
     rRepository   = new SRoleRepository();
     resRepository = new SResourceRepository(rRepository.DbCondext);
     pRepository   = new SPermissionRepository(rRepository.DbCondext);
     uRepository   = new SUserRepository(rRepository.DbCondext);
     rpRepository  = new SRolePermissionRepository(rRepository.DbCondext);
     opRepository  = new SOPermissionRepository(rRepository.DbCondext);
     cpRepository  = new SCPermissionRepository(rRepository.DbCondext);
 }
コード例 #2
0
 public SUserService()
 {
     uRepository = new SUserRepository();
 }
コード例 #3
0
 public SOrganizationService()
 {
     oRepository = new SOrganizationRepository();
     uRepository = new SUserRepository(oRepository.DbCondext);
 }