• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Distinguished Contributor
    wesbird
    Posts: 273
    Registered: ‎12-05-2003

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

    51 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
    Please use plain text.