SqlBuilder.JoinSql Method (String, IEnumerable<SqlBuilder>)
Concatenates the members of a constructed IEnumerable<T> collection of type SqlBuilder, using the specified separator between each member.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public static SqlBuilder JoinSql(
string separator,
IEnumerable<SqlBuilder> values
)
Parameters
separator
Type: System.String
The string to use as a separator.
values
Type: System.Collections.Generic.IEnumerable<SqlBuilder>
A collection that contains the SqlBuilder objects to concatenate.
Return Value
Type: SqlBuilder
A SqlBuilder that consists of the members of values delimited by the separator string. If values has no members, the method returns an empty SqlBuilder.