DbCommand dbCommand = null;
using (dbCommand = GetDbCommand(db, sql))
{
FillUpdateCommandParams(ref db, ref dbCommand, entity);
}
Will dbcommand be disposed at the end even though i am passing it by ref?
Anonymous
DbCommand dbCommand = null;
using (dbCommand = GetDbCommand(db, sql))
{
FillUpdateCommandParams(ref db, ref dbCommand, entity);
}
Will dbcommand be disposed at the end even though i am passing it by ref?
Anonymous