mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -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
47 lines
820 B
C#
47 lines
820 B
C#
//
|
|
// System.Data.SqlClient.SqlCommand.cs
|
|
//
|
|
// Author:
|
|
// Rodrigo Moya ([email protected])
|
|
//
|
|
// (C) Ximian, Inc
|
|
//
|
|
|
|
namespace System.Data.SqlClient
|
|
{
|
|
/// <summary>
|
|
/// Represents a SQL statement that is executed while connected to a SQL database.
|
|
/// </summary>
|
|
public class SqlCommand implements IDbCommand
|
|
{
|
|
void Cancel();
|
|
|
|
SqlParameter CreateParameter();
|
|
|
|
int ExecuteNonQuery();
|
|
|
|
SqlDataReader ExecuteReader();
|
|
|
|
SqlDataReader ExecuteReader(CommandBehavior behavior);
|
|
|
|
object ExecuteScalar();
|
|
|
|
void Prepare();
|
|
|
|
|
|
string CommandText{get; set;}
|
|
|
|
int CommandTimeout{get; set;}
|
|
|
|
CommandType CommandType{get; set;}
|
|
|
|
SqlConnection Connection{get; set;}
|
|
|
|
SqlParameterCollection Parameters{get;}
|
|
|
|
IDbTransaction Transaction{get; set;}
|
|
|
|
UpdateRowSource UpdatedRowSource{get; set;}
|
|
}
|
|
}
|