private LIS_SERVICOPEDOTICACollection ServicoRel(int IDPEDIDOOTICA) { LIS_SERVICOPEDOTICACollection LIS_SERVICOPEDOTICAColl = new LIS_SERVICOPEDOTICACollection(); LIS_SERVICOPEDOTICAProvider LIS_SERVICOPEDOTICAP = new LIS_SERVICOPEDOTICAProvider(); RowRelatorio.Clear(); RowRelatorio.Add(new RowsFiltro("IDPEDIDOOTICA", "System.Int32", "=", IDPEDIDOOTICA.ToString())); LIS_SERVICOPEDOTICAColl = LIS_SERVICOPEDOTICAP.ReadCollectionByParameter(RowRelatorio); return(LIS_SERVICOPEDOTICAColl); }