mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 12:31:30 -10:00
* 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
83 lines
1.6 KiB
C#
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 (); }
|
|
}
|
|
}
|
|
}
|