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

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

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

            return(coll);
        }