A
Abhishek
Hello
When we open a connection using some connectionstring the connection is
associated to a database which we specify in the ConnectionString. Now
my question is
1) When i do a changedatabase does the connection object closes the
connection to the server and opens the connection again for a new
Database or does it somehow keep the connection open and somehow just
changes the database it is pointing to.
2) When we do a changedatabase on the connection what happens to the
Transaction context in which the Connction was. Does it provide us with
a new Transaction Context or does it continue with the previous
transaction context.
Any comments would really help
Thanks
Abhishek
When we open a connection using some connectionstring the connection is
associated to a database which we specify in the ConnectionString. Now
my question is
1) When i do a changedatabase does the connection object closes the
connection to the server and opens the connection again for a new
Database or does it somehow keep the connection open and somehow just
changes the database it is pointing to.
2) When we do a changedatabase on the connection what happens to the
Transaction context in which the Connction was. Does it provide us with
a new Transaction Context or does it continue with the previous
transaction context.
Any comments would really help
Thanks
Abhishek