Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning record versus fields only
Message
From
10/04/2012 15:31:22
 
 
General information
Forum:
ASP.NET
Category:
LINQ
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01540661
Message ID:
01540876
Views:
21
>The first approach relies on defining a simple public class with just the two fields. The second approach would not be of any use since the anonymous type would not be recognized outside the method in which it is created. There may be other options but I don't know what the 'consumer' of the FirstName/LastName will be - or where it will reside......

Thanks, it seems this has been accepted as is. However, I am keeping a reference to the solution you mentioned in case we have to do it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform