Hour 18

for RuBoard

Quiz Answers

1:

Which method of the SqlTransaction object finalizes a transaction? How is this done in T-SQL?

A1:

The Commit() method of the SqlTransaction object finalizes a transaction and commits all database changes made during the life of the transaction. To achieve the same when working with T-SQL, you would use COMMIT TRAN .

2:

In ADO.NET, a database transaction is started by using which object?

A2:

The BeginTransaction() method of the Connection object is used to start a transaction.

for RuBoard


Sams Teach Yourself ADO. NET in 24 Hours
Sams Teach Yourself ADO.NET in 24 Hours
ISBN: 0672323834
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net