C# Class OpenSlx.Lib.Web.Controls.SlxEntityDataSource

Inheritance: EntityDataSource, IQFEntityDataSource
Mostrar archivo Open project: nicocrm/OpenSlx

Private Properties

Property Type Description
FindParentSmartPart EntityBoundSmartPart
PopulateDataSource void

Public Methods

Method Description
DeleteEntities ( IEnumerable entities ) : int

Remove entities. If the DeleteMethodName is specified then this will be called, otherwise we'll try and remove them from the parent collection.

Refresh ( ) : void

Reload the entity collection and signal connected objects that the data may have changed.

Protected Methods

Method Description
GetView ( string viewName ) : System.Web.UI.DataSourceView
OnInit ( EventArgs e ) : void

Private Methods

Method Description
FindParentSmartPart ( ) : EntityBoundSmartPart

Attempt to find the smart part containing this control.

PopulateDataSource ( ) : void

Populate the parent's data source collection based on the provided data source property name.

Method Details

DeleteEntities() public method

Remove entities. If the DeleteMethodName is specified then this will be called, otherwise we'll try and remove them from the parent collection.
public DeleteEntities ( IEnumerable entities ) : int
entities IEnumerable
return int

GetView() protected method

protected GetView ( string viewName ) : System.Web.UI.DataSourceView
viewName string
return System.Web.UI.DataSourceView

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

Refresh() public method

Reload the entity collection and signal connected objects that the data may have changed.
public Refresh ( ) : void
return void