PlainSQLFetchAspects Constructor |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public PlainSQLFetchAspects(
int offset = 0,
int limit = 0,
bool cacheResultset = false,
TimeSpan cacheDuration = null,
bool overwriteIfPresent = false,
string cacheTag = ""
)
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 = ""
)
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