Files
mono/mcs/class/System.Web/System.Web.UI/DataSourceView.cs
T
Ben Maurer 0f25cef728 2003-11-08 Ben Maurer <[email protected]>
* SiteMapNode.cs (GetDataSourceView): Implement.
	* SiteMapProvider.cs: Typo fixing.
	* XmlSiteMapProvider.cs: We shouldnt resolve here.

2003-11-08 Ben Maurer  <[email protected]>

	* DataSourceView.cs:
	* IDataSource.cs:
	* ListSourceHelper.cs:
	* DataSourceControl.cs:
	* HierarchicalDataSourceView.cs:
	* IHierarchicalDataSource.cs: Move v2 stuff.

2003-11-08 Ben Maurer  <[email protected]>

	* SiteMapDataSourceView.cs: Implement.

svn path=/trunk/mcs/; revision=19754
2003-11-09 04:56:15 +00:00

54 lines
1.1 KiB
C#

//
// System.Web.UI.DataSourceView
//
// Authors:
// Ben Maurer ([email protected])
//
// (C) 2003 Ben Maurer
//
#if NET_1_2
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