Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 5th, 2012, 11:48 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Range variables in ETF Linq statments

Are range variables kind of like the equivalent of alias in a SQL Statement?
Like for example:
Select Age,Name,Address, PhoneNumber
from Customer C and Invoices I

It seems to me that this is a likely comparison.
 
Old May 6th, 2012, 04:17 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not really. Aliasing takes place in the Select method / slect part of the query. Range variables do more, as they are also used to determine what you can select (myCustomer.Invoices) and how you want to filter (where myCustomer.Invoices.Any()).

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
LINQ ETF Data sources vbboyd BOOK: Beginning ASP.NET 4 : in C# and VB 1 March 17th, 2012 04:19 PM
LINQ to EF and LINQ to SQL sophia BOOK: Beginning ASP.NET 4 : in C# and VB 1 October 19th, 2011 12:16 PM
LINQ vaibhavgoe LINQ 4 December 21st, 2009 03:49 PM
how to run a set of SQL statments in AS400 sivuj18 ADO.NET 0 December 20th, 2007 11:39 PM
How to make insert statments for current db method Access VBA 8 March 23rd, 2005 10:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.