Exemple #1
0
        public AprAcompañanteCollection FetchByQuery(Query qry)
        {
            AprAcompañanteCollection coll = new AprAcompañanteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public AprAcompañanteCollection FetchAll()
        {
            AprAcompañanteCollection coll = new AprAcompañanteCollection();
            Query qry = new Query(AprAcompañante.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public AprAcompañanteCollection FetchByID(object IdAcompañante)
        {
            AprAcompañanteCollection coll = new AprAcompañanteCollection().Where("idAcompañante", IdAcompañante).Load();

            return(coll);
        }