Hello,
I'am new in VB.Net and have a problem with sql transactions.
I have two classes, one class cls_Login and the second class cls_User. In the first class i have a method create_Login()
which saves the username and the passwod. In the second class I have a methode create_User() which saves the username and user information like country, street, city and so on.
The problem is, that when a user start the registration i will call the two methods within one transaction but I did not know how can i handle this?
I'am new in VB.Net and have a problem with sql transactions.
I have two classes, one class cls_Login and the second class cls_User. In the first class i have a method create_Login()
which saves the username and the passwod. In the second class I have a methode create_User() which saves the username and user information like country, street, city and so on.
The problem is, that when a user start the registration i will call the two methods within one transaction but I did not know how can i handle this?