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

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

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

            return(coll);
        }