public printService(ServiceWorksheets sw, servicePrintType printType) { //db = new dbGyorokEntities(); pType = printType; //serviceToPrint = SQLConnection.Execute.ServiceSumView.Single(ss => ss.worksheetID == sw.worksheetID); Printing(); }
//dbGyorokEntities db; public printService(ServiceSum sw, servicePrintType printType) { pType = printType; serviceToPrint = sw; Printing(); }