Files
mono/mcs/class/System.Data/System.Data.SqlClient/SqlConnection.cs
T
Rodrigo Moya 011da1207d 2002-04-14 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
	contains all calls the the PostgreSQL client library, to be used
	everywhere in System.Data.SqlClient.

svn path=/trunk/mcs/; revision=3804
2002-04-14 12:12:45 +00:00

83 lines
1.6 KiB
C#

//
// System.Data.SqlClient.SqlConnection.cs
//
// Author:
// Rodrigo Moya ([email protected])
//
// (C) Ximian, Inc
//
namespace System.Data.SqlClient
{
/// <summary>
/// Represents an open connection to a SQL data source
/// </summary>
public class SqlConnection : IDBConnection
{
[MonoTODO]
public SqlConnection () {
this.ConnectionString = null;
this.ConnectionTimeout = 0;
this.Database = null;
this.State = 0;
}
[MonoTODO]
public SqlConnection (string cs) : SqlConnection () {
this.ConnectionString = cs;
}
public SqlTransaction BeginTransaction() {
return new SqlTransaction (this);
}
public SqlTransaction BeginTransaction(IsolationLevel il) {
SqlTransaction xaction = new SqlTransaction (cnc);
xaction.IsolationLevel = il;
return xaction;
}
[MonoTODO]
public void ChangeDatabase(string databaseName) {
throw new NotImplementedException ();
}
[MonoTODO]
public void Close() {
throw new NotImplementedException ();
}
[MonoTODO]
public SqlCommand CreateCommand() {
throw new NotImplementedException ();
}
[MonoTODO]
public void Open() {
throw new NotImplementedException ();
}
[MonoTODO]
public string ConnectionString {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
[MonoTODO]
public int ConnectionTimeout {
get { throw new NotImplementedException (); }
}
[MonoTODO]
public string Database {
get { throw new NotImplementedException (); }
}
[MonoTODO]
public ConnectionState State {
get { throw new NotImplementedException (); }
}
}
}