IDataAdapter.cs 849 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //
  2. // System.Data.IDataAdapter.cs
  3. //
  4. // Author:
  5. // Christopher Podurgiel ([email protected])
  6. //
  7. // (C) Chris Podurgiel
  8. //
  9. namespace System.Data
  10. {
  11. /// <summary>
  12. /// Allows an object to implement a DataAdapter, and represents a set of methods and mapping action-related properties used to fill and refresh a DataSet and update a data source.
  13. /// </summary>
  14. public interface IDataAdapter
  15. {
  16. int Fill(DataSet dataSet)
  17. {
  18. }
  19. DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType)
  20. {
  21. }
  22. IDataParameter[] GetFillParameters();
  23. int Update(DataSet dataSet)
  24. {
  25. }
  26. MissingMappingAction MissingMappingAction
  27. {
  28. get
  29. {
  30. }
  31. set
  32. {
  33. }
  34. }
  35. MissingSchemaAction MissingSchemaAction
  36. {
  37. get
  38. {
  39. }
  40. set
  41. {
  42. }
  43. }
  44. ITableMappingCollection TableMappings
  45. {
  46. get
  47. {
  48. }
  49. set
  50. {
  51. }
  52. }
  53. }
  54. }