Files
mono/mcs/class/System.Data/System.Data.ProviderBase/DbConnectionFactory.cs
T
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00

99 lines
2.3 KiB
C#

//
// System.Data.ProviderBase.DbConnectionFactory
//
// Author:
// Tim Coleman ([email protected])
//
// Copyright (C) Tim Coleman, 2003
//
#if NET_2_0
using System.Data.Common;
namespace System.Data.ProviderBase {
public abstract class DbConnectionFactory
{
#region Fields
#endregion // Fields
#region Constructors
[MonoTODO]
protected DbConnectionFactory ()
{
}
[MonoTODO]
protected DbConnectionFactory (DbConnectionPoolCounters performanceCounters)
{
}
#endregion // Constructors
#region Properties
public abstract DbProviderFactory ProviderFactory { get; }
#endregion // Properties
#region Methods
[MonoTODO]
protected virtual IAsyncResult BeginCreateConnection (DbConnectionBase owningObject, DbConnectionString connectionOptions, DbConnectionInternal connection, AsyncCallback callback, object asyncStateObject)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void ClearAllPools ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void ClearPool (DbConnectionBase connection)
{
throw new NotImplementedException ();
}
protected abstract DbConnectionInternal CreateConnection (DbConnectionString options, DbConnectionBase owningObject);
protected abstract DbConnectionString CreateConnectionOptions (string connectionString);
protected abstract DbConnectionPoolOptions CreateConnectionPoolOptions (DbConnectionString options);
[MonoTODO]
protected virtual DbMetaDataFactory CreateMetaDataFactory (DbConnectionInternal internalConnection)
{
throw new NotImplementedException ();
}
[MonoTODO]
protected virtual DbConnectionInternal EndCreateConnection (IAsyncResult asyncResult)
{
throw new NotImplementedException ();
}
[MonoTODO]
protected internal DbMetaDataFactory GetMetaDataFactory (DbConnectionString connectionOptions, DbConnectionInternal internalConnection)
{
throw new NotImplementedException ();
}
internal DbConnectionString CreateConnectionOptionsInternal (string connectionString)
{
return CreateConnectionOptions (connectionString);
}
[MonoTODO]
public void SetConnectionPoolOptions (string connectionString, DbConnectionPoolOptions poolOptions)
{
throw new NotImplementedException ();
}
#endregion // Methods
}
}
#endif