Property | Type | Description | |
---|---|---|---|
EntityIdParameterName | String | ||
EntityViewName | String | ||
NullableRecordCountParameterName | String | ||
OrderByClauseParameterName | String | ||
PageIndexParameterName | String | ||
PageSizeParameterName | String | ||
RecordCountParameterName | String | ||
SortExpressionParameterName | String | ||
WhereClauseParameterName | String |
Property | Type | Description | |
---|---|---|---|
GetParameterValueMap | IOrderedDictionary | ||
GetParameterValueMap | IOrderedDictionary | ||
OnPageLoadComplete | void | ||
OnParametersChanged | void | ||
UpdateEntityId | void |
Method | Description | |
---|---|---|
DeepLoad ( ) : void |
Performs a DeepLoad operation for the current entity if it has not already been performed.
|
|
Delete ( Object entity ) : int |
Performs a delete operation on the list of data that the EntityDataSourceView object represents.
|
|
EntityDataSource ( ) : System |
Initializes a new instance of the EntityDataSource class.
|
|
EntityDataSource ( Object provider, |
Initializes a new instance of the EntityDataSource class for the specified provider, entity type, and data retrieval method name.
|
|
GetCurrentEntity ( ) : Object |
Gets a specific entry from the cached list of entities based on the value of the EntityIndex property.
|
|
GetEntityList ( ) : IEnumerable |
Gets a reference to the current list of entities.
|
|
GetNewEntity ( ) : Object |
Creates a new instance of the class specified by the EntityType property.
|
|
GetOrderByClause ( ) : String |
Gets the value of the OrderByClause parameter as a string.
|
|
GetPageIndex ( ) : int |
Gets the value of the PageIndex parameter as an int.
|
|
GetPageSize ( ) : int |
Gets the value of the PageSize parameter as an int.
|
|
GetParameterIntValue ( String parameterName ) : int |
Gets the current value of the parameter with the name specified by the parameterName argument.
|
|
GetParameterStringValue ( String parameterName ) : String |
Gets the current value of the parameter with the name specified by the parameterName argument.
|
|
GetParameterValue ( String parameterName ) : Object |
Gets the current value of the parameter with the name specified by the parameterName argument.
|
|
GetSelectedEntityId ( ) : String |
Gets the current value of the EntityId parameter.
|
|
GetWhereClause ( ) : String |
Gets the value of the WhereClause parameter as a string.
|
|
Insert ( IDictionary values ) : int |
Performs an insert operation on the list of data that the EntityDataSourceView object represents.
|
|
Update ( Object entity, IDictionary values ) : int |
Performs an update operation on the list of data that the EntityDataSourceView object represents.
|
Method | Description | |
---|---|---|
GetView ( string viewName ) : DataSourceView |
Retrieves the named data source view that is associated with the data source control.
|
|
GetViewNames ( ) : ICollection |
Retrieves a collection of names representing the list of view objects that are associated with the EntityDataSource object.
|
|
LoadViewState ( object state ) : void |
Loads the previously saved view state of the EntityDataSource control.
|
|
OnInit ( EventArgs e ) : void |
Raises the System.Web.UI.Control.Init event.
|
|
SaveViewState ( ) : object |
Saves the state of the EntityDataSource control.
|
|
TrackViewState ( ) : void |
Tracks view-state changes to the EntityDataSource control so that they can be stored in the System.Web.UI.StateBag object.
|
Method | Description | |
---|---|---|
GetParameterValueMap ( ) : IOrderedDictionary |
Gets an ordered collection of parameter names and values.
|
|
GetParameterValueMap ( String parameterName ) : IOrderedDictionary |
Gets an ordered collection of parameter names and values, but only if a parameter exists with the name specified by the parameterName argument.
|
|
OnPageLoadComplete ( object sender, EventArgs e ) : void |
Handles the Page.LoadComplete event.
|
|
OnParametersChanged ( object sender, EventArgs e ) : void |
Handles the ParameterCollection.ParametersChanged event.
|
|
UpdateEntityId ( String entityId ) : void |
Sets the value of the EntityId property.
|
public Delete ( Object entity ) : int | ||
entity | Object | The business object to delete. |
return | int |
public EntityDataSource ( Object provider, |
||
provider | Object | The business object that provides data access. |
entityType | The type of entity that is returned by the provider. | |
selectMethod | String | The name of the method or function that the EntityDataSource invokes to retrieve data. |
return | System |
public GetParameterIntValue ( String parameterName ) : int | ||
parameterName | String | The name of the parameter. |
return | int |
public GetParameterStringValue ( String parameterName ) : String | ||
parameterName | String | The name of the parameter. |
return | String |
public GetParameterValue ( String parameterName ) : Object | ||
parameterName | String | The name of the parameter. |
return | Object |
protected GetView ( string viewName ) : DataSourceView | ||
viewName | string | The name of the view to retrieve. |
return | DataSourceView |
public Insert ( IDictionary values ) : int | ||
values | IDictionary | A System.Collections.IDictionary of /// name/value pairs used during an insert operation. |
return | int |
protected LoadViewState ( object state ) : void | ||
state | object | An object that contains /// the saved view state values for the control. |
return | void |
protected OnInit ( EventArgs e ) : void | ||
e | EventArgs | A System.EventArgs object that contains the event data. |
return | void |
public Update ( Object entity, IDictionary values ) : int | ||
entity | Object | The business object to delete. |
values | IDictionary | A System.Collections.IDictionary of /// name/value pairs used during an update operation. |
return | int |
public static String EntityIdParameterName | ||
return | String |
public static String NullableRecordCountParameterName | ||
return | String |
public static String OrderByClauseParameterName | ||
return | String |
public static String PageIndexParameterName | ||
return | String |
public static String PageSizeParameterName | ||
return | String |
public static String RecordCountParameterName | ||
return | String |
public static String SortExpressionParameterName | ||
return | String |