예제 #1
0
        public ConTurnoCollection FetchByQuery(Query qry)
        {
            ConTurnoCollection coll = new ConTurnoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public ConTurnoCollection FetchAll()
        {
            ConTurnoCollection coll = new ConTurnoCollection();
            Query qry = new Query(ConTurno.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public ConTurnoCollection FetchByID(object IdTurno)
        {
            ConTurnoCollection coll = new ConTurnoCollection().Where("idTurno", IdTurno).Load();

            return(coll);
        }