protected PayrollBaseRepository(kk_sp_payrollEntities entities)
     : base(entities)
 {
     Entities = entities;
 }
 protected PayrollBaseCore(kk_sp_payrollEntities entities)
 {
     Entities = entities;
     IsSuccess = true;
 }
 protected PayrollBaseRepository()
 {
     Connection = new EntityConnection(ConnectionString);
     Entities = new kk_sp_payrollEntities(Connection);
 }