public void Load() { logReport.OnLogReport("start game,load orders ..."); byte[] bytes = baseDao.Load(CodeMap.Filed.FIELED_PAYMENT_DATA); orders = new Orders(bytes); logReport.OnLogReport("start game,load orders count:" + orders.Count()); }
public void Load() { logReport.OnLogReport("start game,load orders ..."); orders = baseDao.Load(typeof(Orders)); if (orders == null) { orders = new Orders(); baseDao.Save(orders); } logReport.OnLogReport("start game,load orders count:" + orders.Count()); }
public Cookie Load() { return(baseDao.Load(typeof(Cookie))); }