2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git] / mcs / class / System.Web.DynamicData / Test / DataSource / IDynamicDataContainer.cs
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
4 using System.Linq;
5 using System.Text;
6 using System.Web.UI;
7 using System.Web.UI.WebControls;
8
9 namespace MonoTests.DataSource
10 {
11         public interface IDynamicDataContainer <T>
12         {
13                 T ContainedTypeInstance { get; set; }
14                 Type ContainedType { get; }
15                 string TableName { get; set; }
16
17                 int Update (IDictionary keys, IDictionary values, IDictionary oldValues);
18                 int Insert (IDictionary values);
19                 int Delete (IDictionary keys, IDictionary oldValues);
20                 IEnumerable Select (DataSourceSelectArguments args, string where, ParameterCollection whereParams);
21                 List<DynamicDataTable> GetTables ();
22         }
23 }