DataAdapter.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //
  2. // System.Data.Common.DataAdapter
  3. //
  4. // Author:
  5. // Rodrigo Moya ([email protected])
  6. //
  7. // (C) Ximian, Inc
  8. //
  9. namespace System.Data.Common
  10. {
  11. /// <summary>
  12. /// Represents a set of data commands and a database connection that are used to fill the DataSet and update the data source.
  13. /// </summary>
  14. public abstract class DataAdapter : Component, IDataAdapter
  15. {
  16. [MonoTODO]
  17. protected DataAdapter()
  18. {
  19. throw new NotImplementedException ();
  20. }
  21. public abstract int Fill(DataSet dataSet);
  22. public abstract DataTable[] FillSchema(DataSet dataSet,
  23. SchemaType schemaType);
  24. public abstract IDataParameter[] GetFillParameters();
  25. public abstract int Update(DataSet dataSet);
  26. protected virtual DataAdapter CloneInternals();
  27. protected virtual DataTableMappingCollection CreateTableMappings();
  28. protected virtual bool ShouldSerializeTableMappings();
  29. [MonoTODO]
  30. public bool AcceptChangesDuringFill
  31. {
  32. get { throw new NotImplementedException (); }
  33. set { throw new NotImplementedException (); }
  34. }
  35. [MonoTODO]
  36. public bool ContinueUpdateOnError
  37. {
  38. get { throw new NotImplementedException (); }
  39. set { throw new NotImplementedException (); }
  40. }
  41. [MonoTODO]
  42. public MissingMappingAction MissingMappingAction
  43. {
  44. get { throw new NotImplementedException (); }
  45. set { throw new NotImplementedException (); }
  46. }
  47. [MonoTODO]
  48. public MissingSchemaAction MissingSchemaAction
  49. {
  50. get { throw new NotImplementedException (); }
  51. set { throw new NotImplementedException (); }
  52. }
  53. [MonoTODO]
  54. public DataTableMappingCollection TableMappings
  55. {
  56. get { throw new NotImplementedException (); }
  57. }
  58. }
  59. }