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.9.0.0 (5.9.0)
Syntax
public PlainSQLFetchAspects(
	int offset = 0,
	int limit = 0,
	bool cacheResultset = false,
	TimeSpan cacheDuration = null,
	bool overwriteIfPresent = false,
	string cacheTag = "",
	bool performImplicitTypeConversions = false
)

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)
performImplicitTypeConversions (Optional)
Type: SystemBoolean
If true, the projection code used will perform implicit type conversions using a slower pipeline. If false, it will use optimized projection logic which assumes the value at ordinal n is of the expected type.
See Also