Ejemplo n.º 1
0
        public AutViajeCollection FetchByQuery(Query qry)
        {
            AutViajeCollection coll = new AutViajeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public AutViajeCollection FetchAll()
        {
            AutViajeCollection coll = new AutViajeCollection();
            Query qry = new Query(AutViaje.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public AutViajeCollection FetchByID(object IdViaje)
        {
            AutViajeCollection coll = new AutViajeCollection().Where("idViaje", IdViaje).Load();

            return(coll);
        }