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

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

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

            return(coll);
        }