Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion from C# to VB.NET
Message
From
17/04/2013 12:17:34
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01571173
Message ID:
01571235
Views:
39
>On reflection, I don't think it could work. If oApp is a singleton (or shared) then cloning an object which is a property of oApp means everyone will be referencing the same clone (i.e. oProcess.oApp.Tables = Clone(oProcess.oApp.Tables) achieves nothing). The objects which might be changed would need to be cloned independently and not be properties of oApp.

Well, I have something like this:
lcLabel = oProcess.oApp.Tables("Customer").Fields("InvoiceNo").Title_E
So, I cannot break that apart. This is the one concept of the framework and why everything is so easy to work with. This is also why I have everything in memory in regards to the data dictionary. So, if I cannot clone independently an object under oApp, is the only way a deep copy?
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
Next
Reply
Map
View

Click here to load this message in the networking platform