PlainSQLFetchAspects Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The PlainSQLFetchAspects type exposes the following members.
Name | Description | |
---|---|---|
PlainSQLFetchAspects |
Initializes a new instance of the PlainSQLFetchAspects class.
|
Name | Description | |
---|---|---|
CacheDuration |
Gets or sets how long the resulset as a cached resultset should be placed in the cache.
| |
CacheResultset |
Gets or sets a value indicating whether the resultset should be cached.
| |
CacheTag |
Gets or sets the tag the resultset should be cached under. By default this is the empty string (no tag)
| |
Limit |
Gets or sets the limit (number of rows to return) to use for the query. By default this is 0 (no limit, all rows are returned).
| |
Offset |
Gets or sets the offset to use for the query. By default this is 0.
| |
OverwriteIfPresent |
if set to true it will replace an existing cached set with the one specified.
| |
PerformImplicitTypeConversions |
Gets or sets the value to control whether implicit type conversions should be taken during projection. Implicit type conversions are convenient but are slower.
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
| |
WithTies |
Gets or sets the directive to use WITH TIES in a limit/paging call
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AlwaysPerformImplicitTypeConversions |
Gets or sets the global value to control whether implicit type conversions should be taken during projection for plain SQL fetch queries.
Implicit type conversions are convenient but use a different, slower pipeline. By default this field is set to false.
If true, the projection code used for all plain SQL fetch queries will perform implicit type conversions using a slower pipeline.
If false (default), it will use optimized projection logic which assumes the value at ordinal n is of the expected type.
If this field is set to false, you can set the implicit type conversion behavior per query using the property PerformImplicitTypeConversions.
|