Click or drag to resize

PlainSQLFetchAspects Class

Simple class which is used to specify aspects about a fetch query specified as plain SQL.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesPlainSQLFetchAspects

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public class PlainSQLFetchAspects

The PlainSQLFetchAspects type exposes the following members.

Constructors
  NameDescription
Public methodPlainSQLFetchAspects
Initializes a new instance of the PlainSQLFetchAspects class.
Top
Properties
  NameDescription
Public propertyCacheDuration
Gets or sets how long the resulset as a cached resultset should be placed in the cache.
Public propertyCacheResultset
Gets or sets a value indicating whether the resultset should be cached.
Public propertyCacheTag
Gets or sets the tag the resultset should be cached under. By default this is the empty string (no tag)
Public propertyLimit
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).
Public propertyOffset
Gets or sets the offset to use for the query. By default this is 0.
Public propertyOverwriteIfPresent
if set to true it will replace an existing cached set with the one specified.
Public propertyPerformImplicitTypeConversions
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
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberAlwaysPerformImplicitTypeConversions
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.
Top
See Also