संभव डुप्लिकेट:
What happens to an uncommitted transaction when the connection is closed?क्या SQLLonnection.Dispose() सभी लंबित लेनदेन पर रोलबैक करता है?
मैं जानता हूँ कि एक SqlTransaction
Dispose()
(Will a using statement rollback a database transaction if an error occurs? देखें) पर ही रोलबैक होगा, लेकिन यह वापस लुढ़का दिया जाएगा जब अपनी मूल SqlConnection
निपटान किया जाता है?
क्या आपने इसे देखने की कोशिश की है? –