Beispiel #1
0
        public PnLenguaCollection FetchByQuery(Query qry)
        {
            PnLenguaCollection coll = new PnLenguaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public PnLenguaCollection FetchAll()
        {
            PnLenguaCollection coll = new PnLenguaCollection();
            Query qry = new Query(PnLengua.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public PnLenguaCollection FetchByID(object IdLengua)
        {
            PnLenguaCollection coll = new PnLenguaCollection().Where("id_lengua", IdLengua).Load();

            return(coll);
        }