Click or drag to resize
DerivedTableDefinition Class
Class to define a derived table. A derived table is a select statement which is used inside a FROM clause of a query. Use derived table definitions in combination of DynamicRelation objects to build your query.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
[SerializableAttribute]
public class DerivedTableDefinition : IDerivedTableDefinition

The DerivedTableDefinition type exposes the following members.

Constructors
  NameDescription
Public methodDerivedTableDefinition(IEnumerable, String)
Initializes a new instance of the DerivedTableDefinition class.
Public methodDerivedTableDefinition(IEnumerable, String, IPredicateExpression)
Initializes a new instance of the DerivedTableDefinition class.
Public methodDerivedTableDefinition(IEnumerable, String, IPredicateExpression, IGroupByCollection)
Initializes a new instance of the DerivedTableDefinition class.
Public methodDerivedTableDefinition(IEnumerable, String, IPredicateExpression, IRelationCollection)
Initializes a new instance of the DerivedTableDefinition class.
Public methodDerivedTableDefinition(IEnumerable, String, IPredicateExpression, IRelationCollection, IGroupByCollection)
Initializes a new instance of the DerivedTableDefinition class.
Public methodDerivedTableDefinition(IEnumerable, String, IPredicateExpression, IRelationCollection, ISortExpression, IGroupByCollection)
Initializes a new instance of the DerivedTableDefinition class.
Public methodDerivedTableDefinition(IEnumerable, String, IPredicateExpression, IRelationCollection, ISortExpression, IGroupByCollection, Int64, Boolean)
Initializes a new instance of the DerivedTableDefinition class.
Top
Properties
  NameDescription
Public propertyAlias
Gets / sets alias
Public propertyAllowDuplicates
Gets / sets allowDuplicates
Public propertyDatabaseSpecificCreator
Object which will be used to create valid parameter objects, field names, including prefix/postfix characters, and conversion routines, and field names, including prefix/postfix characters. Uses the strategy pattern so the generic code can work with more than one target database.
Public propertyFieldCount
Gets the field count.
Public propertyFilter
Gets / sets filter
Public propertyGroupBy
Gets / sets groupBy
Public propertyMaxNumberOfItemsToReturn
Gets / sets maxNumberOfItemsToReturn
Public propertyRelations
Gets / sets relations
Public propertySorter
Gets / sets sorter
Top
Methods
  NameDescription
Public methodAddRelations
Adds the relations specified.
Public methodAppendField
Appends the field passed in to the list of fields.
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 methodGetEntityFieldCore(Int32)
Returns the IEntityFieldCore part of the field at position index
Public methodGetEntityFieldCore(String)
Returns the IEntityFieldCore part of the field in this derived table with the alias specified
Public methodGetFieldsAsArray
Gets the fields as an IEntityFieldCore array.
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 methodReplaceFieldAtIndex
Replaces the field at the index specified with the new field passed in.
Protected methodToQuery
Creates a new query element from this derived table. DatabaseSpecificCreator has to be set to a value.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIDerivedTableDefinitionSetFieldPersistenceInfo
Sets the IFieldPersistenceInfo part of the field at position index. Adapter specific.
Explicit interface implementationPrivate methodIDerivedTableDefinitionToQuery
Creates a new query element from this derived table. Creator has to be set to a value.
Top
See Also