QueryParameters Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The QueryParameters type exposes the following members.
Name | Description | |
---|---|---|
QueryParameters |
Initializes a new instance of the QueryParameters class.
| |
QueryParameters(Int32, Int32, Int32) |
Initializes a new instance of the QueryParameters class.
| |
QueryParameters(Int32, Int32, Int32, IRelationPredicateBucket) |
Initializes a new instance of the QueryParameters class.
| |
QueryParameters(IEntityFieldCore, IFieldPersistenceInfo, IPredicate, Int64, ISortExpression, IRelationCollection, IGroupByCollection, Boolean) |
CTor which accepts literal elements. Used to pass elements directly to the query engine.
|
Name | Description | |
---|---|---|
AliasesOfEntitiesAlreadyTypeFiltered |
Gets or sets the aliases of entities already type filtered. The aliases in this set have already received a type filter, and all fields with the same alias can
be skipped for type filtering in the pipeline further. Can be null.
| |
AllowDuplicates |
Gets or sets a value indicating whether [allow duplicates].
| |
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)
| |
CollectionToFetch |
Gets or sets the collection to fetch.
| |
ExcludedIncludedFields |
Gets or sets the excluded / included fields list.
| |
FieldPersistenceInfosForQuery |
Gets or sets the field persistence infos for query.
| |
FieldsForQuery |
Gets or sets the fields for query. To obtain an array for query production, always call FieldsForQueryAsArray, as this property will return null if
this instance was created with the CTor accepting an array of fields.
| |
FieldsForQueryAsArray |
Gets the fields for the query as an array. This is equivalent to calling GetAsEntityFieldCoreArray on FieldsForQuery, however this property will cache the
results and will return the same array every time.
| |
FieldsToSkipForQuery |
Set fields which have to be skipped entirely when generating a query. These fields aren't e.g. excluded fields as excluded fields are generated with NULL
values in the projection. Used mainly for INSERT INTO table (...) SELECT ... queries.
| |
FilterRelationsAsBucket |
Gets the filter + relations as bucket.
| |
FilterSpecified |
Gets whether there is a predicate expression specified as filter and if so that it contains elements (true) or not (false).
| |
FilterToUse |
Gets or sets the filter to use.
| |
FilterToUseAsPredicateExpression |
Gets the FilterToUse as predicate expression.
| |
GroupBySpecified |
Gets whether there are group by elements specified in this parameters object (true) or not (false)
| |
GroupByToUse |
Gets or sets the group by to use.
| |
IsLocalCopy |
Gets or sets a value indicating whether this instance is a local copy. If true, it's ok to modify it along the way to a query.
| |
OverwriteIfPresent |
if set to true it will replace an existing cached set with the one specified.
| |
PerformValueProjectionsOnRawRow |
if set to true the projection method will perform value projections on the plain row prior to using it
in the projector and will create a new object row to store the projected values in. If false, the plain row is passed on as-is
| |
PostProcessDBNullValues |
if set to true it will perform a DBNull to null conversion on the row passed to the projector. Only specify this to true
if the projector deals with object arrays to the outside. In all other cases make the projectors already convert the DBNull values.
| |
PrefetchPathToUse |
Gets or sets the prefetch path to use.
| |
QueryHints |
Gets / sets the set of query hints to be used for the query created from these parameters. Can be empty.
| |
QueryTag |
The optional tag for the SQL query/queries to relate SQL strings in an RDBMS with an origin.
| |
RelationsSpecified |
Gets whether there are relations specified in this parameters object (true) or not (false)
| |
RelationsToUse |
Gets or sets the relations to use.
| |
RowsToSkip |
Gets or sets the rows to skip.
| |
RowsToTake |
Gets or sets the rows to take.
| |
SortClauseSpecified |
Gets whether there are sort clauses specified in this parameters object (true) or not (false)
| |
SorterToUse |
Gets or sets the sorter to use.
| |
UnionedQueries |
The query parameters of the queries which are unioned with the query represented by this query.
| |
UnionedQueriesSpecified |
Gets whether there is at least one unioned query specified (true) or not (false).
| |
WithTies |
Gets or sets the directive to use WITH TIES in a Take call if an order by is specified.
|
Name | Description | |
---|---|---|
Clone |
Clones this instance.
| |
Clone(Boolean) |
Clones this instance using a memberwise clone and also creates usable clones inside the clone returned of the relations and filtertouse
objects, so the original can be re-used.
| |
DetermineTypeConvertersToRun |
Determines the type converters to run during a projection fetch.
| |
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.) | |
SetCreator |
Sets the dbspecific creator property for the elements inside this object which need it. If creator is null, the creator property is reset for these elements
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |