Article View: es.comp.lenguajes.php
Article #109Re: SubQuery en LinQ
From: "Álvaro G. Vicario"
Date: Thu, 13 Aug 2009 09:13
Date: Thu, 13 Aug 2009 09:13
22 lines
2753 bytes
2753 bytes
Paul escribi�: > Necesito hacer una subquery y no logro hacerla. > > SELECT * > FROM Pedido > WHERE IdPedido IN > (SELECT Id FROM Pedidos) > > Como hacer esto en LinQ de forma parecida a esto: > lstPedidosFindAll(.....); // Donde lstPedidos es: private > List<Pedido> lstPedidos=new List<lstPedidos>(); Seg�n Google eso de LinQ parece ser una extensi�n de Microsoft para .NET. �Te has confundido de grupo? :-? -- -- http://alvaro.es - �lvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programaci�n web: http://borrame.com -- Mi web de humor satinado: http://www.demogracia.com --
Technical Details
Message-ID:
<h60lv3$29u$1@news.eternal-september.org>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!not-for-mailReferences:
<73cca49e-419b-4c70-8497-e4e7703d7dc8@a13g2000yqc.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f9da90502c,1ee4cd62986c412a X-Google-Attributes: gidf9da90502c,public,usenet X-Google-NewGroupId: yes X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!not-for-mail From: "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> Newsgroups: es.comp.lenguajes.php Subject: Re: SubQuery en LinQ Date: Thu, 13 Aug 2009 11:13:15 +0200 Organization: A noiseless patient Spider Lines: 22 Message-ID: <h60lv3$29u$1@news.eternal-september.org> References: <73cca49e-419b-4c70-8497-e4e7703d7dc8@a13g2000yqc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.eternal-september.org U2FsdGVkX19uRe0wNauEzK2uMu1EdG3BghpI0KTF07iesV78WWdJb7K0u3lG/hSsaaV+AaQB10KcNZFWXDw1p1O6W3xqSCM4qaccgI0wH5VvwOIKCzZA5WjP4dWTYcUokrYZ1rU5c2tMvpZ2sYAPQQ== X-Complaints-To: abuse@eternal-september.org NNTP-Posting-Date: Thu, 13 Aug 2009 09:21:39 +0000 (UTC) In-Reply-To: <73cca49e-419b-4c70-8497-e4e7703d7dc8@a13g2000yqc.googlegroups.com> X-Auth-Sender: U2FsdGVkX1/B+7JILpJvUz58eRkSMbaoDINrVjhdfUE= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAABoElEQVR4nO1ZXZPCMAgkN/3/ fzk+VHORAFk+rtaZ40k7ZtkCC7S23jvdyX4+TYDb7QgdsWOttfG5NunxCPXe/6L+bpeyOKE5a4XW vGEHeYSziRJaebCDBlEXuT2h4Slw04GzFqEMlRUHBFGLuorNQACLz2qMtW0mFaFaSbvQvqcxfiRf dEGEvNkXijpQQPYRV7AFQr130QFCNJ9oVfatNa1/IF7DbUzt1OAKVh42mRAYFUZajIprbtCaMg10 xV2vsBSPpLvsTfbDBwMaX1nkRNLrz1z2GyExtozi6VWToXYbBFcksZRpEIhk8H3NJnfY57VSPa8j VWKrWCjNkQtDR7bExApzrIjvLixCW8UileTldGi4pM+Q1XdM4aKj/bRvL0OYZexZVXM3w4dU+UP0 gHXsQ2K/NtADbGieZZpGAtoBi13s+7wYvcJB+sLW5uN8uGYGtQFFsBIveurAo5UlNA/dPJsCQqSM DsYmvqBlOGlxyj51hC25ep92RVG7sraRYvKlTPELKwYK4hp7dw0h0Q1iwaBm3hwmfcvg//8GbewB sahWWAekCkUAAAAASUVORK5CYII= Cancel-Lock: sha1:ATni4ukm51iK7tV2DLlC6L3X3vQ= User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)