.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

to transaction or not to transaction, this is a question?

0 REPLIES 0
Reply
Message 1 of 1
wesbird
177 Views, 0 Replies

to transaction or not to transaction, this is a question?

Hi,
Now I am in the middle of transfer a project from VBA to .Net. I am really confused by "Transaction".
In VBA, my code work like:
[code]
AutoCAD_Command
SubFunction
AccessDatabase
DrawComponent
DrawSubComponent
DrawBox
DrawCircle
...
[/code]
DrawBox, DrawCircle are some general function. now I have nesting transaction in all level functions (DrawBox, DrawSubComponent, DrawComponent...). is this a good solution? what should I do?

the doc (online help) does not help a lot. I tried harder to read the one in ObjectARX. Is there any doc for .Net? or at least for how to work with Transaction, Nesting Transaction? How many level Nesting Transaction can be? Which is the best practise?


Thank you very much and I really appreciate your time and help
Wes Message was edited by: weslleywang
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost