2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
[mono.git] / mcs / class / System.Data / System.Data / IDataAdapter.cs
1 //
2 // System.Data.IDataAdapter.cs
3 //
4 // Author:
5 //   Christopher Podurgiel (cpodurgiel@msn.com)
6 //
7 // (C) Chris Podurgiel
8 //
9
10 namespace System.Data
11 {
12         /// <summary>
13         /// 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.
14         /// </summary>
15         public interface IDataAdapter
16         {
17                 int Fill(DataSet dataSet);
18
19                 DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType);
20
21                 IDataParameter[] GetFillParameters();
22
23                 int Update(DataSet dataSet);
24                 
25                 MissingMappingAction MissingMappingAction{get;set;}
26
27                 MissingSchemaAction MissingSchemaAction{get;set;}
28
29                 ITableMappingCollection TableMappings{get;}
30
31
32         }
33 }