public static List <StocktakeDetails> FindAllByNotification(StocktakeNotification notification) { if (notification == null) { return(null); } return(FindAllByNotification(notification.NotificationID)); }
private void BindNotificationListData() { Pager pg = gvpNotification.Pager; pg.Order.Name = "DateCreated"; pg.Order.Direction = OrderDirection.Desc; gvNotification.DataSource = XStocktakeNotification.FindAllByPage(pg, BuildNotificationWhere()); gvNotification.DataBind(); gvpNotification.Pager = pg; }