Пример #1
0
 public static JBHRContext GetJBHRContext()
 {
     if (jBHRContext == null)
     {
         var builder       = new DbContextOptionsBuilder <JBHRContext>();
         var contextOption = builder.UseSqlServer(TestConfig.HrConntionString).Options;
         jBHRContext = new JBHRContext(contextOption);
     }
     return(jBHRContext);
 }
 public Employee_Normal_GetEmployeeInfo(JBHRContext context)
 {
     _context = context;
 }
Пример #3
0
 public Employee_Normal_GetPeopleByDept(JBHRContext context)
 {
     _context = context;
 }