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