public override IDbCommand CreateCommand() { var command = base.CreateCommand(); if (MiniProfiler.Current != null) command = new ProfiledGenericDbCommand<SqlCommand>((DbCommand)command, MiniProfiler.Current); return command; }
public override IDbCommand CreateCommand() { var command = base.CreateCommand(); // TEST JBL 20140317 ((OracleCommand)command).BindByName = true; // END TEST JBL 20140317 if (MiniProfiler.Current != null) { command = new ProfiledGenericDbCommand<OracleCommand>((DbCommand)command, MiniProfiler.Current); } return command; }