PlainSQLFetchAspects Constructor |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public PlainSQLFetchAspects(
int offset = 0,
int limit = 0,
bool cacheResultset = false,
TimeSpan cacheDuration = null,
bool overwriteIfPresent = false,
string cacheTag = "",
bool performImplicitTypeConversions = false
)
Public Sub New (
Optional offset As Integer = 0,
Optional limit As Integer = 0,
Optional cacheResultset As Boolean = false,
Optional cacheDuration As TimeSpan = Nothing,
Optional overwriteIfPresent As Boolean = false,
Optional cacheTag As String = "",
Optional performImplicitTypeConversions As Boolean = 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