public AprRelControNiñoSanoFactorProtectorCollection FetchByQuery(Query qry)
        {
            AprRelControNiñoSanoFactorProtectorCollection coll = new AprRelControNiñoSanoFactorProtectorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AprRelControNiñoSanoFactorProtectorCollection FetchAll()
        {
            AprRelControNiñoSanoFactorProtectorCollection coll = new AprRelControNiñoSanoFactorProtectorCollection();
            Query qry = new Query(AprRelControNiñoSanoFactorProtector.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AprRelControNiñoSanoFactorProtectorCollection FetchByID(object IdRelacion)
        {
            AprRelControNiñoSanoFactorProtectorCollection coll = new AprRelControNiñoSanoFactorProtectorCollection().Where("idRelacion", IdRelacion).Load();

            return(coll);
        }