Table of Contents

Interface ISelectBuilderEntry

Namespace
Dapper.SimpleSqlBuilder.FluentBuilder
Assembly
Dapper.SimpleSqlBuilder.dll

An interface that defines the select builder entry type.

public interface ISelectBuilderEntry

Methods

Select(ref SelectInterpolatedStringHandler)

Appends the SELECT clause and the interpolated string to the builder.

ISelectBuilder Select(ref SelectInterpolatedStringHandler handler)

Parameters

handler SelectInterpolatedStringHandler

The handler for the interpolated string.

Returns

ISelectBuilder

The ISelectBuilder instance.

Exceptions

InvalidOperationException

Thrown when two entry clauses are called on the same instance, e.g., calling Select and SelectDistinct on the same builder instance.

SelectDistinct(ref SelectDistinctInterpolatedStringHandler)

Appends the SELECT DISTINCT clause and the interpolated string to the builder.

ISelectDistinctBuilder SelectDistinct(ref SelectDistinctInterpolatedStringHandler handler)

Parameters

handler SelectDistinctInterpolatedStringHandler

The handler for the interpolated string.

Returns

ISelectDistinctBuilder

The ISelectDistinctBuilder instance.

Exceptions

InvalidOperationException

Thrown when two entry clauses are called on the same instance, e.g., calling SelectDistinct and Select on the same builder instance.