generated from Avanade/avanade-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathIMultiSetArgs.cs
36 lines (31 loc) · 1.11 KB
/
IMultiSetArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/CoreEx
namespace CoreEx.Database
{
/// <summary>
/// Enables the <b>Database</b> multi-set arguments
/// </summary>
public interface IMultiSetArgs
{
/// <summary>
/// Gets the minimum number of rows allowed.
/// </summary>
int MinRows { get; }
/// <summary>
/// Gets the maximum number of rows allowed.
/// </summary>
int? MaxRows { get; }
/// <summary>
/// Indicates whether to stop further query result set processing where the current set has resulted in a null (i.e. no records).
/// </summary>
bool StopOnNull { get; }
/// <summary>
/// The <see cref="DatabaseRecord"/> method invoked for each record for its respective dataset.
/// </summary>
/// <param name="dr">The <see cref="DatabaseRecord"/>.</param>
void DatasetRecord(DatabaseRecord dr);
/// <summary>
/// Invokes the corresponding result function.
/// </summary>
void InvokeResult();
}
}