Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 32b43be

Browse files
committed
Revert save behavior
1 parent 4b9419d commit 32b43be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceStack.OrmLite/OrmLiteWriteCommandExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,11 +871,11 @@ internal static bool Save<T>(this IDbCommand dbCmd, T obj)
871871
return true;
872872
}
873873

874-
var rowsUpdated = dbCmd.Update(obj);
874+
dbCmd.Update(obj);
875875

876876
modelDef.RowVersion?.SetValueFn(obj, dbCmd.GetRowVersion(modelDef, id, modelDef.RowVersion.ColumnType));
877877

878-
return rowsUpdated > 0;
878+
return false;
879879
}
880880

881881
internal static int SaveAll<T>(this IDbCommand dbCmd, IEnumerable<T> objs)

0 commit comments

Comments
 (0)