+2009-11-20 Veerapuram Varadhan <vvaradhan@novell.com>
+
+ * Npgsql.dll.sources: Add
+ Npgsql{Factory,ConnectionStringBuilder}.cs
+ * Npgsql/NpgsqlConnectionString.cs: Comment out redefinition of
+ SslMode.
+ * Npgsql/NpgsqlConnectionStringBuilder.cs: Mark it for 2.x profile
+ onwards.
+ * Npgsql/NpgsqlFactory.cs: Make methods to work also on 2.x profile
+
2008-11-05 Francisco Figueiredo Jr. <francisco@npgsql.org>
Undone update as it breaks the svn tree.
Npgsql/NpgsqlConnectedState.cs
Npgsql/NpgsqlConnection.cs
Npgsql/NpgsqlConnectionString.cs
+Npgsql/NpgsqlConnectionStringBuilder.cs
Npgsql/NpgsqlConnector.cs
Npgsql/NpgsqlConnectorPool.cs
Npgsql/NpgsqlDataAdapter.cs
Npgsql/NpgsqlEventLog.cs
Npgsql/NpgsqlException.cs
Npgsql/NpgsqlExecute.cs
+Npgsql/NpgsqlFactory.cs
Npgsql/NpgsqlFlush.cs
Npgsql/NpgsqlMediator.cs
Npgsql/NpgsqlMessageTypes.cs
//
// Author:
// Glen Parker (glenebob@nwlink.com)
+// Veerapuram Varadhan (vvaradhan@novell.com)
//
// Copyright (C) 2002 The Npgsql Development Team
// npgsql-general@gborg.postgresql.org
// http://gborg.postgresql.org/project/npgsql/projdisplay.php
//
+// Copyright (C) 2009 Novell Inc
+//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
public static readonly Boolean SyncNotification = false;
public static readonly Int32 CommandTimeout = 20; // Seconds
}
-
+
+ /*
internal enum SslMode
{
Disable = 1 << 0,
Prefer = 1 << 2,
Require = 1 << 3
}
+ */
// Tao Wang (dancefire@gmail.com)
+// Veerapuram Varadhan (vvaradhan@novell.com)
+
//
// Copyright (C) 2007 The Npgsql Development Team
//
+// Copyright (C) 2009 Novell Inc
+
// Permission to use, copy, modify, and distribute this software and its
// documentation for any purpose, without fee, and without a written
// TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
-
+#if NET_2_0
using System;
using System.Collections.Generic;
using System.Data.Common;
Require = 1 << 3
}
-}
\ No newline at end of file
+
+#endif
+}
//
// Author:
// Francisco Jr. (fxjrlists@yahoo.com.br)
+// Veerapuram Varadhan (vvaradhan@novell.com)
//
// Copyright (C) 2002-2006 The Npgsql Development Team
+// Copyright (C) 2009 Novell Inc
//
// Permission to use, copy, modify, and distribute this software and its
// documentation for any purpose, without fee, and without a written
// TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
using System;
+using System.ComponentModel;
+using System.Data;
using System.Data.Common;
namespace Npgsql
/// </summary>
public override DbCommand CreateCommand()
{
- return new NpgsqlCommand();
+ return (DbCommand) (IDbCommand) new NpgsqlCommand();
}
public override DbCommandBuilder CreateCommandBuilder()
{
- return new NpgsqlCommandBuilder();
+ return (DbCommandBuilder) (Component) new NpgsqlCommandBuilder();
}
public override DbConnection CreateConnection()
{
- return new NpgsqlConnection();
+ return (DbConnection) (IDbConnection) new NpgsqlConnection();
}
public override DbDataAdapter CreateDataAdapter()
{
- return new NpgsqlDataAdapter();
+ return (DbDataAdapter) (IDbDataAdapter) new NpgsqlDataAdapter();
}
public override DbParameter CreateParameter()
{
- return new NpgsqlParameter();
+ return (DbParameter) (IDbDataParameter) new NpgsqlParameter();
}
+#if NET_2_0
public override DbConnectionStringBuilder CreateConnectionStringBuilder()
{
return new NpgsqlConnectionStringBuilder();
}
-
+#endif
#region IServiceProvider Members
public object GetService(Type serviceType)
#endregion
}
-}
\ No newline at end of file
+}