コード例 #1
0
 public static List <Region> GetUpdatesAfter(long?lastVersion, DateTime?lastUpdateTime)
 {
     BLL.Region v = new BLL.Region();
     if (lastVersion.HasValue && lastVersion.Value != 0)
     {
         v.LoadUpdatesAfter(Convert.ToInt32(lastVersion.Value));
     }
     else if (lastUpdateTime.HasValue)
     {
         // v.LoadUpdatesAfterByTime(lastUpdateTime.Value);
     }
     else
     {
         v.LoadAll();
     }
     return(ToList(v));
 }
コード例 #2
0
 public static List<Region> GetUpdatesAfter(long? lastVersion, DateTime? lastUpdateTime)
 {
     BLL.Region v = new BLL.Region();
     if (lastVersion.HasValue && lastVersion.Value != 0)
     {
         v.LoadUpdatesAfter(Convert.ToInt32(lastVersion.Value));
     }
     else if (lastUpdateTime.HasValue)
     {
         // v.LoadUpdatesAfterByTime(lastUpdateTime.Value);
     }
     else
     {
         v.LoadAll();
     }
     return ToList(v);
 }
コード例 #3
0
 public static List <Region> GetAll()
 {
     BLL.Region v = new BLL.Region();
     v.LoadAll();
     return(ToList(v));
 }
コード例 #4
0
 public static List<Region> GetAll()
 {
     BLL.Region v = new BLL.Region();
     v.LoadAll();
     return ToList(v);
 }