Private Sub Query3_PreprocessQuery(ByRef query As System.Linq.IQueryable(Of LightSwitchApplication.Stock)) query = From n In query _ Group n By n.Order_Date.year, n.Order_Date.month, n.Product_Name Into g=Group _ Select year,month,Product_Name,Quantity = g.sum(Function(n) n.Quantity) End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)