Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conversion from C# to VB.NET
Message
De
18/04/2013 11:08:17
 
 
À
18/04/2013 11:00:22
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01571173
Message ID:
01571348
Vues:
33
>>Yes, the Clone was an overkill - done each time
>
>I have completed all the changes. This works well so far.

Good


Still something that bugs me
Do you need Tables here as a property ? - since tablesTmp is stored in oApp.Tables
       ' Data dictionary
        Public Tables As New Tables
        ' don't need this - Public TablesTemp 

        ' Load the data dictionary
        Public Function LoadDataDictionary() As Boolean

          dim tablesTmp as new Tables
                    
          'the framework is still using Tables

          ' populate tablesTmp if needed

           oApp.Tables = tablesTmp ' from now on the newer version will be used

                ' Let the framework know that we are done
            ' This will only happen at startup as there is no need to turn this off on reload
            App.lTables = True

            Return True
        End Function
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform