C# Class Nettiers.AdventureWorks.Web.Data.EntityDataSourceFilter

Provides the ability to filter the list of data retrieved by an EntityDataSource object.
Inheritance: System.Web.UI.WebControls.DataBoundControl, IDataSource
Mostrar archivo Open project: netTiers/netTiers Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
EntityDataSourceFilter ( ) : System

Initializes a new instance of the EntityDataSourceFilter class.

GetListDataSource ( ) : IListDataSource

Gets a reference to the associated IListDataSource object.

GetView ( String viewName ) : System.Web.UI.DataSourceView

Gets the named data source view associated with the data source control.

GetViewNames ( ) : ICollection

Gets a collection of names representing the list of view objects associated with the System.Web.UI.IDataSource interface.

Protected Methods

Method Description
OnDataSourceChanged ( EventArgs e ) : void

Raises the DataSourceChanged event.

Method Details

EntityDataSourceFilter() public method

Initializes a new instance of the EntityDataSourceFilter class.
public EntityDataSourceFilter ( ) : System
return System

GetListDataSource() public method

Gets a reference to the associated IListDataSource object.
public GetListDataSource ( ) : IListDataSource
return IListDataSource

GetView() public method

Gets the named data source view associated with the data source control.
public GetView ( String viewName ) : System.Web.UI.DataSourceView
viewName String The name of the view to retrieve.
return System.Web.UI.DataSourceView

GetViewNames() public method

Gets a collection of names representing the list of view objects associated with the System.Web.UI.IDataSource interface.
public GetViewNames ( ) : ICollection
return ICollection

OnDataSourceChanged() protected method

Raises the DataSourceChanged event.
protected OnDataSourceChanged ( EventArgs e ) : void
e System.EventArgs An instance of EventArgs containing the event data.
return void