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

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

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

            return(coll);
        }