天天看点

metadata usage in the runtime

Created by Jerry Wang, last modified on Sep 18, 2015

  • ODataModel
  • bindProperty
  • ODataListBinding
  • bindTree
metadata usage in the runtime

Binding function的输入还是需要oModel:

metadata usage in the runtime

如果根据关键字".oMetadata"搜索:

metadata usage in the runtime

trigger point: setModels

metadata usage in the runtime

因为此时metadata尚未load,因此直接return:

metadata usage in the runtime

这个metadata用于取后台的version for interoperability:

metadata usage in the runtime
metadata usage in the runtime

以及用于各种数据请求的data structure初始化工作:

metadata usage in the runtime

继续阅读