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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public AutVehiculoPmpCollection FetchAll()
        {
            AutVehiculoPmpCollection coll = new AutVehiculoPmpCollection();
            Query qry = new Query(AutVehiculoPmp.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public AutVehiculoPmpCollection FetchByID(object IdVehiculoPMP)
        {
            AutVehiculoPmpCollection coll = new AutVehiculoPmpCollection().Where("idVehiculoPMP", IdVehiculoPMP).Load();

            return(coll);
        }