public InsTipoPedidoCollection FetchByQuery(Query qry) { InsTipoPedidoCollection coll = new InsTipoPedidoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public InsTipoPedidoCollection FetchAll() { InsTipoPedidoCollection coll = new InsTipoPedidoCollection(); Query qry = new Query(InsTipoPedido.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }