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

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

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

            return(coll);
        }