Closed adamfoneil closed 4 years ago
Would like to be able to write this code
await new SqlServerCmd("dbo.Mp3File", "Id") { { nameof(Mp3File.IsDeleted), isDeleted } }.UpdateAsync(connection, fileId);
like this
await new SqlServerCmd<Mp3File>() { { model => model.IsDeleted, isDeleted } }.UpdateAsync(connection, fileId);
started on this here 0d70a8e92201ef7362adb1bbde17e1fad50e0046 but not sure this is better than current UpdateAsync method that accepts lambda args
UpdateAsync
Would like to be able to write this code
like this