Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adjust line to a declaration
Message
From
07/06/2012 14:38:31
 
 
To
07/06/2012 14:00: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:
01545606
Message ID:
01545612
Views:
44
>I have the following one line which declares the Accounts variable.
>
>
>Dim Accounts = SDKServiceCtx.dsCtx.CreateQuery(Of SimpleService.Account)("Accounts")
>
>
>I need to define Accounts as a public property of the class, thus just the declaration. What would be the proper syntax for that?

I'm not sure I understand the question but....

Make it a normal public property (with only a get accessor?) and initialize it in the constructor ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform