| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- //
- // 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
- }
- }
|