* libgda.cs: added new libgda functions and some enumerations.
* OleDbParameter.cs (IsNullable): removed explicit implementation
of the set method for this property.
* OleDbDataAdapter.cs (MissingMappingAction): implemented.
(MissingSchemaAction): implemented.
svn path=/trunk/mcs/; revision=5707
+2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
+
+ * libgda.cs: added new libgda functions and some enumerations.
+
+ * OleDbParameter.cs (IsNullable): removed explicit implementation
+ of the set method for this property.
+
+ * OleDbDataAdapter.cs (MissingMappingAction): implemented.
+ (MissingSchemaAction): implemented.
+
2002-07-10 Tim Coleman <tim@timcoleman.com>
* OleDbCommandBuilder.cs: Added new methods, properties
* OleDbConnection.cs: Modified constructor
* OleDbType.cs: Fixed two typos
* libgda.cs: Style changes, added new methods
-
2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
* OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
OleDbCommand insertCommand;
OleDbCommand selectCommand;
OleDbCommand updateCommand;
+ MissingMappingAction missingMappingAction;
+ MissingSchemaAction missingSchemaAction;
static readonly object EventRowUpdated = new object ();
static readonly object EventRowUpdating = new object ();
}
}
+ MissingMappingAction IDataAdapter.MissingMappingAction {
+ get { return missingMappingAction; }
+ set { missingMappingAction = value; }
+ }
+
+ MissingSchemaAction IDataAdapter.MissingSchemaAction {
+ get { return missingSchemaAction; }
+ set { missingSchemaAction = value; }
+ }
+
IDbCommand IDbDataAdapter.UpdateCommand {
get { return UpdateCommand; }
set {
public bool IsNullable {
get { return isNullable; }
- set { isNullable = value; }
}
public OleDbType OleDbType {
namespace System.Data.OleDb
{
+ internal enum GdaCommandOptions {
+ IgnoreErrors = 1,
+ StopOnErrors = 1 << 1,
+ BadOption = 1 << 2,
+ };
+
+ internal enum GdaCommandType {
+ Sql = 0,
+ Xml = 1,
+ Procedure = 2,
+ Table = 3,
+ Schema = 4,
+ Invalid = 5
+ };
+
sealed internal class libgda
{
private static IntPtr m_gdaClient = IntPtr.Zero;
[DllImport("gda-2")]
public static extern IntPtr gda_transaction_set_name (IntPtr xaction, string name);
+
[DllImport("gda-2")]
public static extern bool gda_connection_begin_transaction (IntPtr cnc, IntPtr xaction);