Exemplo n.º 1
0
 public static List <ReceiptInvoice> GetUpdatesAfter(long?lastVersion, DateTime?lastUpdateTime)
 {
     BLL.ReceiptInvoice v = new BLL.ReceiptInvoice();
     if (lastVersion.HasValue && lastVersion.Value != 0)
     {
         v.LoadUpdatesAfter(lastVersion.Value);
     }
     else if (lastUpdateTime.HasValue)
     {
         v.LoadUpdatesAfterByTime(lastUpdateTime.Value);
     }
     else
     {
         v.LoadAll();
     }
     return(ToList(v));
 }
 public static List<ReceiptInvoice> GetUpdatesAfter(long? lastVersion, DateTime? lastUpdateTime)
 {
     BLL.ReceiptInvoice v = new BLL.ReceiptInvoice();
     if (lastVersion.HasValue && lastVersion.Value != 0)
     {
         v.LoadUpdatesAfter(lastVersion.Value);
     }
     else if (lastUpdateTime.HasValue)
     {
         v.LoadUpdatesAfterByTime(lastUpdateTime.Value);
     }
     else
     {
         v.LoadAll();
     }
     return ToList(v);
 }