There can be a difference between the connection usage period duration time and the total DB times and .NET times. This is caused by the overhead inside the used ADO.NET provider to open / close a connection or commit a transaction, and overhead inside the used data-access system due to code executed after a connection was opened and before it was closed.
ref: Duration Explained