How to set XACT_ABORT within ADO.NET

ado.net, sql, sql-server, transactions

Solution

Execute `SET XACT_ABORT ON` or `SET XACT_ABORT OFF`.

Problem

How can I set XACT_ABORT to ON (or OFF) from within ADO.NET ?

Original source