mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
Renamed the `NET_1_2' conditional to `NET_2_0' in all files. svn path=/trunk/mcs/; revision=25877
54 lines
1.1 KiB
C#
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
|
|
|