示例#1
0
        public AutModeloCollection FetchByQuery(Query qry)
        {
            AutModeloCollection coll = new AutModeloCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public AutModeloCollection FetchAll()
        {
            AutModeloCollection coll = new AutModeloCollection();
            Query qry = new Query(AutModelo.Schema);

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

            return(coll);
        }