Files
mono/mcs/class/System.Web/System.Web.UI/DataSourceView.cs
T
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00

54 lines
1.1 KiB
C#

//
// System.Web.UI.DataSourceView
//
// Authors:
// Ben Maurer ([email protected])
//
// (C) 2003 Ben Maurer
//
#if NET_2_0
using System.Collections;
using System.Collections.Specialized;
using System.Text;
namespace System.Web.UI {
public abstract class DataSourceView
{
protected DataSourceView ()
{
}
public virtual int Delete (IDictionary keys)
{
throw new NotSupportedException ();
}
public virtual int Insert (IDictionary values)
{
throw new NotSupportedException ();
}
public virtual int Update (IDictionary keys, IDictionary values)
{
throw new NotSupportedException ();
}
public abstract IEnumerable Select ();
public virtual bool CanDelete { get { return false; } }
public virtual bool CanInsert { get { return false; } }
public virtual bool CanSort { get { return false; } }
public virtual bool CanUpdate { get { return false; } }
public virtual string Name { get { return ""; } }
public virtual string SortExpression {
get { throw new NotSupportedException (); }
set { throw new NotSupportedException (); }
}
}
}
#endif