public static t_shooternumberconfig UpdateEntity(this t_shooternumberconfig entity,
   ShooterNumberConfig shooterNumberConfig)
 {
   entity.ShooterNumberIncrement = shooterNumberConfig.ShooterNumberIncrement;
   entity.LastGivenShooterNumber = shooterNumberConfig.LastGivenShooterNumber;
   return entity;
 }
 public void Update(ShooterNumberConfig shooterNumberConfig)
 {
   t_shooternumberconfig entity =
     _sqlRepository.Find(_ => _.ShooterNumberConfigId == shooterNumberConfig.ShooterNumberConfigId).Single();
   entity.UpdateEntity(shooterNumberConfig);
   _sqlRepository.Commit();
 }
 public void Delete(ShooterNumberConfig entity)
 {
   throw new NotImplementedException();
 }