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

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

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

            return(coll);
        }