Example #1
0
        public ConTematicaCollection FetchByQuery(Query qry)
        {
            ConTematicaCollection coll = new ConTematicaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public ConTematicaCollection FetchAll()
        {
            ConTematicaCollection coll = new ConTematicaCollection();
            Query qry = new Query(ConTematica.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public ConTematicaCollection FetchByID(object IdTematica)
        {
            ConTematicaCollection coll = new ConTematicaCollection().Where("idTematica", IdTematica).Load();

            return(coll);
        }