Table of Contents

Method Take

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

Take(int)

Limits the result to at most count mapped rows.

public MappedQueryWithTake<T> Take(int count)

Parameters

count int

The maximum number of rows to map.

Returns

MappedQueryWithTake<T>

A query that is ready for a terminal.

Remarks

The limit applies after any skip.

Exceptions

ArgumentOutOfRangeException

count is negative.