[DefaultEvent ("RowUpdated")]
[DesignerAttribute ("Microsoft.VSDesigner.Data.VS.OdbcDataAdapterDesigner, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.ComponentModel.Design.IDesigner")]
[ToolboxItemAttribute ("Microsoft.VSDesigner.Data.VS.OdbcDataAdapterToolboxItem, "+ Consts.AssemblyMicrosoft_VSDesigner)]
- public sealed class OdbcDataAdapter : DbDataAdapter, IDbDataAdapter
+ public sealed class OdbcDataAdapter : DbDataAdapter, IDbDataAdapter, ICloneable
{
#region Fields
- bool disposed = false;
+#if ONLY_1_1
+ bool disposed = false;
+#endif
OdbcCommand deleteCommand;
OdbcCommand insertCommand;
OdbcCommand selectCommand;
#region Constructors
- public OdbcDataAdapter ()
- : this (new OdbcCommand ())
+ public OdbcDataAdapter () : this (new OdbcCommand ())
{
}
return new OdbcRowUpdatingEventArgs (dataRow, command, statementType, tableMapping);
}
+#if ONLY_1_1
protected override void Dispose (bool disposing)
{
if (!disposed) {
disposed = true;
}
}
+#endif
protected override void OnRowUpdated (RowUpdatedEventArgs value)
{
RowUpdating (this, (OdbcRowUpdatingEventArgs) value);
}
+ [MonoTODO]
+ object ICloneable.Clone ()
+ {
+ throw new NotImplementedException ();
+ }
+
#endregion // Methods
#region Events and Delegates