示例#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);
        }