Beispiel #1
0
        public AutMarcaCollection FetchByQuery(Query qry)
        {
            AutMarcaCollection coll = new AutMarcaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public AutMarcaCollection FetchAll()
        {
            AutMarcaCollection coll = new AutMarcaCollection();
            Query qry = new Query(AutMarca.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public AutMarcaCollection FetchByID(object IdMarca)
        {
            AutMarcaCollection coll = new AutMarcaCollection().Where("idMarca", IdMarca).Load();

            return(coll);
        }