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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public GuardiaTiposIngresoCollection FetchByID(object Id)
        {
            GuardiaTiposIngresoCollection coll = new GuardiaTiposIngresoCollection().Where("id", Id).Load();

            return(coll);
        }