mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* System.Data.SqlClient/*: added skeletons for the SQL managed provider for ADO.Net, to be based initially in PostgreSQL. svn path=/trunk/mcs/; revision=3300
40 lines
625 B
C#
40 lines
625 B
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
|
|
{
|
|
SqlTransaction BeginTransaction();
|
|
|
|
SqlTransaction BeginTransaction(IsolationLevel il);
|
|
|
|
void ChangeDatabase(string databaseName);
|
|
|
|
void Close();
|
|
|
|
SqlCommand CreateCommand();
|
|
|
|
void Open();
|
|
|
|
|
|
string ConnectionString{get; set;}
|
|
|
|
int ConnectionTimeout{get;}
|
|
|
|
string Database{get;}
|
|
|
|
ConnectionState State{get;}
|
|
|
|
}
|
|
}
|