UIAction主要内容:
UIAction:
Load,DataCollect,FirstPage,NextPage…
UIActionExtend:
LoadExtend,DataCollectExtend,FirstPageExtend…
CommonAction:
CommonAction:
Load:完成数据加载到IUIModel中
LoadChildView:加载指定视图的下级视图数据
Save:将IUIModel的变化更新到后台持久层,保存后会回刷数据到
NavigationAction:
FirstPage,LastPage,NextPage,PrePage,MovePageByIndex,MovePageAt,Refresh
公共API:
int GetCurrentRecordIndex(IUIView)
返回参数视图的当前记录索引
int GetIndexByID(IUIView,long)
返回指定ID在数据库中的索引
string GetParentFilter(IUIView)
返回父视图的条件,该条件可以确保得到该子视图
long LoadRecordCount(IUIView)
返回数据库记录的总行数