public override void TransactionBegin(out IDbConnection conn, out IDbTransaction trx, out bool connOpen) { connOpen = false; // Create a connection if one doesn't exist if (this.Connection == null) { this.Connection = this.CreateSqlConnection(); } // Open the connection if it's closed if (this.Connection.State == ConnectionState.Closed) { this.Connection.Open(); connOpen = true; } // Create the transaction object this.Transaction = this.Connection.BeginTransaction(IsolationLevel.ReadUncommitted); // Set the output parameters conn = this.Connection; trx = this.Transaction; }You then need to override the CreateDataAccessSql() method of your application's Factory class like this:
public override mmDataAccessSql CreateDataAccessSql() { return new myDataAccessSql(); }If you have created custom data access classes (that retrieve and update data using stored procedures) you need to change the base class of these data access classes to myDataAccessSql. Also, if you are using custom data access classes, then then next time you run the Business Layer Generator, specify the base data access class as myDataAccessSQl rather than mmDataAccessSql.