Hi,
I don't think this is an issue, as it relies on how .NET handles SQL stuff afaik, so feel free to close this.
Minimal repro:
let ctx1 = dbSchema.GetDataContext()
let duration eventName f =
let timer = new System.Diagnostics.Stopwatch()
timer.Start()
let returnValue = f()
ctx1.``[DBO].[LOGGING]``.Create(
DateTime.Now
, sprintf "%O" timer.Elapsed
,eventName
,1) |> ignore
ctx1.SubmitUpdates()
returnValue
[| 0..2000|] |> Array.Parallel.map (fun k -> duration "abc" (fun () -> k+1))
This returns : ,"Unchanged entity encountered in update list - this should not be possible!"
Edit: fix typo
Hi,
I don't think this is an issue, as it relies on how .NET handles SQL stuff afaik, so feel free to close this.
Minimal repro:
This returns : ,"Unchanged entity encountered in update list - this should not be possible!"
Edit: fix typo