Exemple #1
0
        public PnObrasSocialeCollection FetchByQuery(Query qry)
        {
            PnObrasSocialeCollection coll = new PnObrasSocialeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public PnObrasSocialeCollection FetchAll()
        {
            PnObrasSocialeCollection coll = new PnObrasSocialeCollection();
            Query qry = new Query(PnObrasSociale.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public PnObrasSocialeCollection FetchByID(object CodOs)
        {
            PnObrasSocialeCollection coll = new PnObrasSocialeCollection().Where("cod_os", CodOs).Load();

            return(coll);
        }