protected void SetEntityState(TestTable entity, EntityState newState)
 {
     TestEntities.Entry(entity).State = newState;
 }
 protected EntityState GetEntityState(TestTable entity)
 {
     return(TestEntities.Entry(entity).State);
 }