Click or drag to resize
RelationCollectionToQueryText Method
Converts the set of relations to a set of nested JOIN query elements using ANSI join syntaxis. Oracle 8i doesn't support ANSI join syntaxis and therefore the OracleDQE has its own join code. It uses a database specific creator object for database specific syntaxis, like the format of the tables / views and fields.

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
public string ToQueryText()

Return Value

Type: String
The string representation of the INNER JOIN expressions of the contained relations, when ObeyWeakRelations is set to false (default) or the string representation of the LEFT/RIGHT JOIN expressions of the contained relations, when ObeyWeakRelations is set to true

Implements

IRelationCollectionToQueryText
Exceptions
ExceptionCondition
ApplicationExceptionWhen the DatabaseSpecificCreator is not set
ORMRelationExceptionwhen the relation set contains an error and is badly formed. For example when the relation collection contains relations which do not have an entity in common, which can happen when a bad alias is specified
See Also