コード例 #1
0
        public RemAgenteCollection FetchByQuery(Query qry)
        {
            RemAgenteCollection coll = new RemAgenteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public RemAgenteCollection FetchAll()
        {
            RemAgenteCollection coll = new RemAgenteCollection();
            Query qry = new Query(RemAgente.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public RemAgenteCollection FetchByID(object IdAgente)
        {
            RemAgenteCollection coll = new RemAgenteCollection().Where("idAgente", IdAgente).Load();

            return(coll);
        }