Esempio n. 1
0
        public AutChofCursoCollection FetchByQuery(Query qry)
        {
            AutChofCursoCollection coll = new AutChofCursoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public AutChofCursoCollection FetchAll()
        {
            AutChofCursoCollection coll = new AutChofCursoCollection();
            Query qry = new Query(AutChofCurso.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public AutChofCursoCollection FetchByID(object IdCurso)
        {
            AutChofCursoCollection coll = new AutChofCursoCollection().Where("idCurso", IdCurso).Load();

            return(coll);
        }