Click or drag to resize
PlainSQLFetchAspects Constructor
Initializes a new instance of the PlainSQLFetchAspects class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public PlainSQLFetchAspects(
	int offset = 0,
	int limit = 0,
	bool cacheResultset = false,
	TimeSpan cacheDuration = null,
	bool overwriteIfPresent = false,
	string cacheTag = ""
)

Parameters

offset (Optional)
Type: SystemInt32
The offset to use for the query. Default: 0.
limit (Optional)
Type: SystemInt32
The limit to use for the query (number of rows to return). Default: 0 (no limit, all rows are returned).
cacheResultset (Optional)
Type: SystemBoolean
if set to true cache the resultset. Default: false.
cacheDuration (Optional)
Type: SystemTimeSpan
Duration how long the resultset should be cached. Required if cacheResultset is set to true.
overwriteIfPresent (Optional)
Type: SystemBoolean
if set to true overwrite a cached resultset with this resultset. Default: false
cacheTag (Optional)
Type: SystemString
The tag the resultset should be cached under. Default: empty string (no tag)
See Also