protected override void Dispose (bool disposing)
{
if (disposing) {
IDbDataAdapter da = (IDbDataAdapter) this;
if (da.SelectCommand != null) {
da.SelectCommand.Dispose();
da.SelectCommand = null;
}
if (da.InsertCommand != null) {
da.InsertCommand.Dispose();
da.InsertCommand = null;
}
if (da.UpdateCommand != null) {
da.UpdateCommand.Dispose();
da.UpdateCommand = null;
}
if (da.DeleteCommand != null) {
da.DeleteCommand.Dispose();
da.DeleteCommand = null;
}
}
}