return _insertCommand;
}
+#if NET_2_0
+ [MonoTODO]
+ public new OdbcCommand GetInsertCommand (bool option)
+ {
+ // FIXME: check validity of adapter
+ if (_insertCommand != null)
+ return _insertCommand;
+
+ if (_schema == null)
+ RefreshSchema ();
+
+ if (option == false) {
+ return GetInsertCommand ();
+ } else {
+ throw new NotImplementedException ();
+ }
+ }
+#endif // NET_2_0
+
public
#if NET_2_0
new
return _updateCommand;
}
+#if NET_2_0
+ [MonoTODO]
+ public new OdbcCommand GetUpdateCommand (bool option)
+ {
+ // FIXME: check validity of adapter
+ if (_updateCommand != null)
+ return _updateCommand;
+
+ if (_schema == null)
+ RefreshSchema ();
+
+ if (option == false) {
+ return GetUpdateCommand ();
+ } else {
+ throw new NotImplementedException ();
+ }
+ }
+#endif // NET_2_0
+
public
#if NET_2_0
new
return _deleteCommand;
}
+#if NET_2_0
+ [MonoTODO]
+ public new OdbcCommand GetDeleteCommand (bool option)
+ {
+ // FIXME: check validity of adapter
+ if (_deleteCommand != null)
+ return _deleteCommand;
+
+ if (_schema == null)
+ RefreshSchema ();
+
+ if (option == false) {
+ return GetDeleteCommand ();
+ } else {
+ throw new NotImplementedException ();
+ }
+ }
+#endif // NET_2_0
+
public
#if NET_2_0
override
#endif
string QuoteIdentifier (string unquotedIdentifier)
{
+ /*
#if NET_2_0
throw new NotImplementedException ();
#else
+ */
if (unquotedIdentifier == null || unquotedIdentifier == String.Empty)
return unquotedIdentifier;
return String.Format ("{0}{1}{2}", QuotePrefix,
unquotedIdentifier, QuoteSuffix);
+ /*
#endif
+ */
}
#if NET_2_0