Ejemplo n.º 1
0
        public ToDoCollection FetchByQuery(Query qry)
        {
            ToDoCollection coll = new ToDoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public ToDoCollection FetchAll()
        {
            ToDoCollection coll = new ToDoCollection();
            Query          qry  = new Query(ToDo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public ToDoCollection FetchByID(object ToDoId)
        {
            ToDoCollection coll = new ToDoCollection().Where("ToDoId", ToDoId).Load();

            return(coll);
        }