Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion from C# to VB.NET
Message
From
18/04/2013 04:03:03
 
 
To
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:
01571300
Views:
47
>>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.

The presence of this thread seems to disprove the last statement :-}

> 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?
Previous
Reply
Map
View

Click here to load this message in the networking platform