EFIngresProvider/SqlGen/SqlGenerator.cs
/// <summary>
/// Convert the SQL fragments to a string.
/// We have to setup the Stream for writing.
/// </summary>
/// <param name="sqlStatement"></param>
/// <returns>A string representing the SQL to be executed.</returns>
Convert the SQL fragments to a string.
We have to setup the Stream for writing.
Convert the SQL fragments to a string . We have to setup the Stream for writing .
private string WriteSql(ISqlFragment sqlStatement)
        {
            using (SqlWriter writer = new SqlWriter())
            {
                sqlStatement.WriteSql(writer, this);
                return writer.ToString();
            }
        }
private string WriteSql ( ISqlFragment sqlStatement ) { using ( SqlWriter writer = new SqlWriter ( ) ) { sqlStatement . WriteSql ( writer , this ) ; return writer . ToString ( ) ; } }
Convert the SQL fragments to a string.
Convert the SQL fragments to a string .
A string representing the SQL to be executed.
A string representing the SQL to be executed .
sqlStatement
ISqlFragment
None