Hi all!
When TypedView Fill() method is generated, it looks as follows:
public virtual bool Fill(long maxNumberOfItemsToReturn, ISortExpression sortClauses, bool allowDuplicates, IPredicate selectFilter, ITransaction transactionToUse,
IGroupByCollection groupByClause, int pageNumber, int pageSize)
{
// Build resultset
IEntityFields fieldsInResultset = GetFields();
// __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields
// be sure to call fieldsInResultset.Expand(number of new fields) first.
// __LLBLGENPRO_USER_CODE_REGION_END
TypedListDAO dao = DAOFactory.CreateTypedListDAO();
return dao.GetMultiAsDataTable(fieldsInResultset, this, maxNumberOfItemsToReturn, sortClauses, selectFilter, null, ***true***, groupByClause, transactionToUse, pageNumber, pageSize);
}
allowDuplicates parameter is ignored, and true is used in its place (marked with ***). Is this on purpose? Why?
Thanks for replies