public Task FindOneAndReplaceAsync(TEntity entity) { return(_database.UpdateAsync(BuildEntity(entity, true))); }
public virtual Task UpdateAsync <TPoco>(TPoco poco, string kind) where TPoco : new() { return(datastoreDb.UpdateAsync(orm.PocoToEntity(poco, kind))); }
public async Task UpdateAsync(TEntity obj) { var entity = BuildEntity(obj, true); await _db.UpdateAsync(entity); }