Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a Linq object available as is
Message
From
22/02/2012 16:16:03
 
 
To
22/02/2012 11:50:50
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:
01536107
Message ID:
01536148
Views:
31
After verification, what I tried did not work. Basically, I can do this:
    Public oClient As ClientAPI.Client = Nothing
    Public oUser As Object = Nothing
This will make oUser available from the object and will not cause any error. However, loLinq.oUser will not be intellisense.

What I tried earlier was:
    Public oClient As ClientAPI.Client = Nothing
    Public oUser=(From u In oClient.GetUsers()...
But, after having made more tests, I found out that this is giving an error about an object reference not found.

My goal is to declare a public Linq object in the Linq class to be available and be ready for intellisense. In the declaration, in order for that to work, I need to define oUser with a Linq statement that will not be executed but will read its signature from its parent (query). Is this possible?
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