MaxRowsToReturn
- Last UpdatedJul 05, 2024
- 1 minute read
This property controls how many rows the Business Logic Tier (BLT) should return.
Declaration
Int32 MaxRowsToReturn { get; set; }
Example
using System;
using OASySDNA.Common;
class Test
{
static void Main(string[] args)
{
try
{
var bltClientFactory = new BLTClientFactory();
using (var bltClient = bltClientFactory.Create("Almattr"))
{
//Set the maximum number of rows to return
bltClient.MaxRowsToReturn = 10;
//Execute the component
bltClient.Execute();
}
}
catch(System.Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
}
}
}