Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adjust line to a declaration
Message
De
07/06/2012 14:38:31
 
 
À
07/06/2012 14:00:50
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01545606
Message ID:
01545612
Vues:
45
>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 ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform