.NET

.NET

Reply
Distinguished Contributor
wesbird
Posts: 359
Registered: ‎12-05-2003
Message 1 of 1 (57 Views)

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

57 Views, 0 Replies
10-21-2005 06:24 AM
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
Vault Pro 2014, Windows 7 64 bit, AutoCAD (ACA, Map) 2014
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.