0 Replies Latest reply: May 10, 2011 5:30 AM by 860734 RSS

    Wrap CreateUser and Other queries under transaction

    860734
      Hi,

      I am sure this question comes in often, I am creating asp .net users using Membership.CreateUser and inserting some other related data into an another table. Now how do I wrap these two operations into a transaction? so if one query goes wrong I can rollback the entire transaction. I know Membership.CreateUser uses its own connection object so OracleTransaction is out of option. Is there any other solution or strategy one can take? Can I directly try the function ora_aspnet_Mem_CreateUser?

      Thanks