public LabResultadoEncabezadoCollection FetchByQuery(Query qry)
        {
            LabResultadoEncabezadoCollection coll = new LabResultadoEncabezadoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public LabResultadoEncabezadoCollection FetchAll()
        {
            LabResultadoEncabezadoCollection coll = new LabResultadoEncabezadoCollection();
            Query qry = new Query(LabResultadoEncabezado.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public LabResultadoEncabezadoCollection FetchByID(object IdProtocolo)
        {
            LabResultadoEncabezadoCollection coll = new LabResultadoEncabezadoCollection().Where("idProtocolo", IdProtocolo).Load();

            return(coll);
        }