mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* System.Data.OleDb: added directory - for OleDb database provider classes * System.Data.SqlClient/SqlClientPermission.cs * System.Data.SqlClient/SqlClientPermissionAttribute.cs * System.Data.SqlClient/SqlCommandBuilder.cs * System.Data.SqlClient/SqlInfoMessageEventHandler.cs * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs * Test/TestSqlException.cs * Test/TestSqlIsolationLevel.cs: added - more tests * System.Data.build: modified - added new files - excludes these too * System.Data.SqlClient/PostgresLibrary.cs - modified - comment * System.Data.SqlClient/SqlConnection.cs * System.Data.SqlClient/SqlCommand.cs * System.Data.SqlClient/SqlTransaction.cs * System.Data.SqlClient/SqlException.cs * System.Data.SqlClient/SqlErrorCollection.cs * System.Data.SqlClient/SqlError.cs: modified - transaction and exception/error handling. SqlConnection(connectionString) constructor should not automatically connect. * System.Data.SqlClient/SqlDataReader.cs * System.Data.SqlClient/SqlDataAdapter.cs * System.Data.SqlClient/SqlParameter.cs * System.Data.SqlClient/SqlParameterCollection.cs: modified - added using System.ComponentModel; * Test/TestSqlInsert.cs: modified - to use transaction svn path=/trunk/mcs/; revision=3933
232 lines
5.0 KiB
C#
232 lines
5.0 KiB
C#
//
|
|
// System.Data.SqlClient.SqlDataAdapter.cs
|
|
//
|
|
// Author:
|
|
// Rodrigo Moya ([email protected])
|
|
// Daniel Morgan ([email protected])
|
|
//
|
|
// (C) Ximian, Inc 2002
|
|
//
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Data.Common;
|
|
|
|
namespace System.Data.SqlClient
|
|
{
|
|
/// <summary>
|
|
/// Represents a set of command-related properties that are used
|
|
/// to fill the DataSet and update a data source, all this
|
|
/// from a SQL database.
|
|
/// </summary>
|
|
public sealed class SqlDataAdapter : DbDataAdapter, IDbDataAdapter
|
|
{
|
|
#region Properties
|
|
|
|
[MonoTODO]
|
|
public SqlCommand DeleteCommand {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
set {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public SqlCommand InsertCommand {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
set {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public SqlCommand SelectCommand {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
set {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
public SqlCommand UpdateCommand {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
set {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
[MonoTODO]
|
|
public override int Fill(DataSet dataSet) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int Fill(DataTable dataTable) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int Fill(DataSet dataSet, string srcTable) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual int Fill(DataTable dataTable,
|
|
IDataReader dataReader) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual int Fill(DataTable dataTable,
|
|
IDbCommand command,
|
|
CommandBehavior behavior) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int Fill(DataSet dataSet, int startRecord,
|
|
int maxRecords, string srcTable) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual int Fill(DataSet dataSet,
|
|
string srcTable, IDataReader dataReader,
|
|
int startRecord, int maxRecords) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual int Fill(DataSet dataSet,
|
|
int startRecord, int maxRecords,
|
|
string srcTable, IDbCommand command,
|
|
CommandBehavior behavior) {
|
|
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override DataTable[] FillSchema(DataSet dataSet,
|
|
SchemaType schemaType) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public DataTable FillSchema(DataTable dataTable,
|
|
SchemaType schemaType) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public DataTable[] FillSchema(DataSet dataSet,
|
|
SchemaType schemaType, string srcTable) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual DataTable FillSchema(DataTable dataTable,
|
|
SchemaType schemaType, IDbCommand command,
|
|
CommandBehavior behavior) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual DataTable[] FillSchema(DataSet dataSet,
|
|
SchemaType schemaType, IDbCommand command,
|
|
string srcTable, CommandBehavior behavior) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override IDataParameter[] GetFillParameters() {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int Update(DataRow[] dataRows) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override int Update(DataSet dataSet) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int Update(DataTable dataTable) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual int Update(DataRow[] dataRows,
|
|
DataTableMapping tableMapping) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int Update(DataSet dataSet, string srcTable) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected override RowUpdatedEventArgs CreateRowUpdatedEvent(
|
|
DataRow dataRow,
|
|
IDbCommand command,
|
|
StatementType statementType,
|
|
DataTableMapping tableMapping) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected override RowUpdatingEventArgs CreateRowUpdatingEvent(
|
|
DataRow dataRow,
|
|
IDbCommand command,
|
|
StatementType statementType,
|
|
DataTableMapping tableMapping) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual void OnFillError(FillErrorEventArgs value) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
protected override void OnRowUpdated(RowUpdatedEventArgs value) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
protected override void OnRowUpdating(RowUpdatingEventArgs value) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
#endregion // Methods
|
|
|
|
#region Events and Delegates
|
|
|
|
public event FillErrorEventHandler FillError;
|
|
|
|
public event SqlRowUpdatedEventHandler RowUpdated;
|
|
|
|
public event SqlRowUpdatingEventHandler RowUpdating;
|
|
|
|
#endregion // Events and Delegates
|
|
|
|
}
|
|
}
|