Example #1
0
        private void SetCommandText(IDbCommand cmd, SqlString sqlString)
        {
            SqlStringFormatter formatter = new SqlStringFormatter(this, MultipleQueriesSeparator);

            formatter.Format(sqlString);
            cmd.CommandText = formatter.GetFormattedText();
        }
Example #2
0
        private void SetCommandText(IDbCommand cmd, SqlString sqlString)
        {
            SqlStringFormatter formatter = GetSqlStringFormatter();

            formatter.Format(sqlString);
            cmd.CommandText = formatter.GetFormattedText();
        }
		private void SetCommandText(IDbCommand cmd, SqlString sqlString)
		{
			SqlStringFormatter formatter = new SqlStringFormatter(this, MultipleQueriesSeparator);
			formatter.Format(sqlString);
			cmd.CommandText = formatter.GetFormattedText();
		}
Example #4
0
		private void SetCommandText(IDbCommand cmd, SqlString sqlString)
		{
			SqlStringFormatter formatter = new SqlStringFormatter(this);
			formatter.Format(sqlString);
			cmd.CommandText = formatter.GetFormattedText();
		}