Example #1
0
        public TamMetodoAnticonceptivoCollection FetchByQuery(Query qry)
        {
            TamMetodoAnticonceptivoCollection coll = new TamMetodoAnticonceptivoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public TamMetodoAnticonceptivoCollection FetchAll()
        {
            TamMetodoAnticonceptivoCollection coll = new TamMetodoAnticonceptivoCollection();
            Query qry = new Query(TamMetodoAnticonceptivo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public TamMetodoAnticonceptivoCollection FetchByID(object IdMetodoAnticonceptivo)
        {
            TamMetodoAnticonceptivoCollection coll = new TamMetodoAnticonceptivoCollection().Where("idMetodoAnticonceptivo", IdMetodoAnticonceptivo).Load();

            return(coll);
        }