Exemple #1
0
 public static List <CurrentDayPickup> ListPickupsForThisCustomer(string custID)
 {
     return((CurrentDayPickup.All()
             .Where(pp => (pp.CDPCustomerID == custID &&
                           !pp.CDPDeleted)))
            .ToList());
 }
Exemple #2
0
        public static List <CurrentDayPickup> GetPickupsForThisRoute(string tag)
        {
            var p = (from pp in CurrentDayPickup.All()
                     where (pp.CDPDefaultRouteID == tag && pp.CDPDeleted == false)
                     select pp);

            return(p.ToList());
        }
Exemple #3
0
 public static int GetUndeletedPickupCount()
 {
     return(CurrentDayPickup.All().Where(x => x.CDPDeleted == false).Count());
 }
Exemple #4
0
 public static List <CurrentDayPickup> GetCDPList()
 {
     return((from p in CurrentDayPickup.All()
             select p).ToList());
 }