Exemplo n.º 1
0
 /// <summary>
 /// 测试用
 /// </summary>
 public ReadDataFromAccess(IAttendanceReadRule ruleMock, IEmployee employeeMock,
                           IAttendanceInAndOutRecord recordMock, IReadDataHistory readDataHistoryMock, Account loginUser)
 {
     _LoginUser   = loginUser;
     _DalReadRule = ruleMock;
     _DalEmployee = employeeMock;
     _DalRecord   = recordMock;
     _DalHistory  = readDataHistoryMock;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 测试用
 /// </summary>
 public UpdateAttendanceReadRule(AttendanceReadRule readRule, IAttendanceReadRule ruleMock, Account loginUser)
 {
     _LoginUser   = loginUser;
     _Read        = readRule;
     _DalReadRull = ruleMock;
 }