예제 #1
0
        public InsTipoPedidoCollection FetchByQuery(Query qry)
        {
            InsTipoPedidoCollection coll = new InsTipoPedidoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public InsTipoPedidoCollection FetchAll()
        {
            InsTipoPedidoCollection coll = new InsTipoPedidoCollection();
            Query qry = new Query(InsTipoPedido.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public InsTipoPedidoCollection FetchByID(object IdTipoPedido)
        {
            InsTipoPedidoCollection coll = new InsTipoPedidoCollection().Where("idTipoPedido", IdTipoPedido).Load();

            return(coll);
        }