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); }
public InsTipoPedidoCollection FetchByID(object IdTipoPedido) { InsTipoPedidoCollection coll = new InsTipoPedidoCollection().Where("idTipoPedido", IdTipoPedido).Load(); return(coll); }