Пример #1
0
        public AutViajeCollection FetchByQuery(Query qry)
        {
            AutViajeCollection coll = new AutViajeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public AutViajeCollection FetchAll()
        {
            AutViajeCollection coll = new AutViajeCollection();
            Query qry = new Query(AutViaje.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public AutViajeCollection FetchByID(object IdViaje)
        {
            AutViajeCollection coll = new AutViajeCollection().Where("idViaje", IdViaje).Load();

            return(coll);
        }