Пример #1
0
        public PnEmbarazadaCollection FetchByQuery(Query qry)
        {
            PnEmbarazadaCollection coll = new PnEmbarazadaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnEmbarazadaCollection FetchAll()
        {
            PnEmbarazadaCollection coll = new PnEmbarazadaCollection();
            Query qry = new Query(PnEmbarazada.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public PnEmbarazadaCollection FetchByID(object IdEmb)
        {
            PnEmbarazadaCollection coll = new PnEmbarazadaCollection().Where("id_emb", IdEmb).Load();

            return(coll);
        }