SqlBuilder._OR<T> Method
Appends to the current clause the string made by concatenating an itemFormat for each element in items, interspersed with the OR operator.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public SqlBuilder _OR<T>(
IEnumerable<T> items,
string itemFormat,
Func<T, Object[]> parametersFactory
)
Parameters
items
Type: System.Collections.Generic.IEnumerable<T>
The collection of objects that contain parameters.
itemFormat
Type: System.String
The format string.
parametersFactory
Type: System.Func<T, Object[]>
The delegate that extract parameters for each element in items.
Type Parameters
T
The type of elements in items.
Return Value
Type: SqlBuilder
A reference to this instance after the append operation has completed.