Esempio n. 1
0
        public AutVehiculoCollection FetchByQuery(Query qry)
        {
            AutVehiculoCollection coll = new AutVehiculoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public AutVehiculoCollection FetchAll()
        {
            AutVehiculoCollection coll = new AutVehiculoCollection();
            Query qry = new Query(AutVehiculo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public AutVehiculoCollection FetchByID(object IdVehiculo)
        {
            AutVehiculoCollection coll = new AutVehiculoCollection().Where("idVehiculo", IdVehiculo).Load();

            return(coll);
        }