LLBLGenProProviderBaseAlwaysUseLastSpecifiedTake Field |
This setting controls whether a specified Take(m) will overwrite an already specified row limit of a previous specified Take(n). By default
this setting is set to false, which is different from the the behavior of v2.6-v4.0, which is equal to having this setting set to true.
Example: metaData.Customer.Take(10).Take(20) will result in 20 rows when this setting is set to true. When set to false (default),
this query will result in 10 rows, as taking 20 rows from a set of 10 will always result in a set of 10 rows.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public static bool AlwaysUseLastSpecifiedTake
Public Shared AlwaysUseLastSpecifiedTake As Boolean
Field Value
Type:
BooleanRemarks Global setting. If required, set this before you run your first linq query.
See Also