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

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

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

            return(coll);
        }