프로퍼티 | 타입 | 설명 | |
---|---|---|---|
EntityIdParameterName | String | ||
EntityViewName | String | ||
NullableRecordCountParameterName | String | ||
OrderByClauseParameterName | String | ||
PageIndexParameterName | String | ||
PageSizeParameterName | String | ||
RecordCountParameterName | String | ||
SortExpressionParameterName | String | ||
WhereClauseParameterName | String |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
GetParameterValueMap | IOrderedDictionary | ||
GetParameterValueMap | IOrderedDictionary | ||
OnPageLoadComplete | void | ||
OnParametersChanged | void | ||
UpdateEntityId | void |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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. |
리턴 | System |
public GetParameterIntValue ( String parameterName ) : int | ||
parameterName | String | The name of the parameter. |
리턴 | int |
public GetParameterStringValue ( String parameterName ) : String | ||
parameterName | String | The name of the parameter. |
리턴 | String |
public GetParameterValue ( String parameterName ) : Object | ||
parameterName | String | The name of the parameter. |
리턴 | Object |
protected GetView ( string viewName ) : DataSourceView | ||
viewName | string | The name of the view to retrieve. |
리턴 | DataSourceView |
public Insert ( IDictionary values ) : int | ||
values | IDictionary | A System.Collections.IDictionary of /// name/value pairs used during an insert operation. |
리턴 | int |
protected LoadViewState ( object state ) : void | ||
state | object | An object that contains /// the saved view state values for the control. |
리턴 | void |
protected OnInit ( EventArgs e ) : void | ||
e | EventArgs | A System.EventArgs object that contains the event data. |
리턴 | 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. |
리턴 | int |
public static String NullableRecordCountParameterName | ||
리턴 | String |
public static String OrderByClauseParameterName | ||
리턴 | String |
public static String SortExpressionParameterName | ||
리턴 | String |