Busy for half a month, now finally idle down, have time to write Bo, feel really cool! Just saw someone want to study together asp.net AJAX CodePlex Preview 3 of the post, just a little time ago a small study. PREVIEW3 out two JS (Microsoftajaxadonet.js and Microsoftajaxtemplates.js).
The next Microsoftajaxadonet class library is described here, and its introduction is illustrated in the documentation provided by Ms. Here is just parsing the code and discussing it together. First put a class diagram in this class library
Let's look at its base class: Adonetquerybuilder class:
Main properties:
_queryparameters:uri's? Array of arguments after
_uri:uri's address?
Use:
The decomposition of the URL, based on the query parameters (? After) to create a parameter array, but also can set $skip, $top, $orderby, $filter, $expand these parameters, but how these parameters are used, it is not clear!?
The Adonetserviceproxy invoke service is also used in this class library to decompose the parameter Operationuri.
Adonetactionresult class
Main properties:
_actioncontext, _error, _operation, _result
Use:
The result object returned by the successful/failed callback function after the adonetactionsequence queue has finished executing the action.