diff options
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud')
| -rw-r--r-- | docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs index eab8567..dc32387 100644 --- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs +++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs @@ -108,7 +108,7 @@ public class CrudService<TEntity> : IDisposable where TEntity : class          return result;      } -    public void UpdateByKey(object key, TEntity entity, UpdateBehavior behavior) +    public void UpdateByKey(object key, TEntity entity, UpdateBehavior behavior = UpdateBehavior.None)      {          var affectedCount = _table.Update(_dbConnection, WhereClause.Create().Eq(_table.KeyColumn.ColumnName, key),              ConvertEntityToUpdateClauses(entity, behavior));  | 
