using
(
MercatorSqlConnection
dbConn =
new
MercatorSqlConnection
(MercatorUi.
Globals
.RepData,
true
))
{
if
(dbConn.Connection ==
null
)
return
;
using
(
SqlCommand
cmd =
new
SqlCommand
(
"update..."
, dbConn.Connection))
{
...
}
}