namespace SiteCore { public interface IWebPage { /// /// 初始化数据 /// void PageInitData(); /// /// 初始化控件 /// void PageInitControl(); /// /// 新增 /// void PageNew(); /// /// 检测 /// /// bool CheckPage(); /// /// 保存 /// object PageSave(object obj, bool isUpdate); /// /// 删除 /// bool PageDelete(); /// /// 给控件赋值 /// /// void SetView(object obj); /// /// 给对象赋值 /// /// void GetView(object obj); /// /// 获取数据 /// /// /// object Get(object id); /// /// 新增时初始化实体数据 /// /// object NewEntity(); } }