public void Put(string sql, ErrorResponse errorResponse, IEnumerable <ObjectState> objects) { executeChange(sql, state => state.With(objects), storage => storage.PutAll(objects), errorResponse, true); }