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.5.0.0 (5.5.18.1019)
Syntax public string ToQueryText()
Public Function ToQueryText As String
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
IRelationCollectionToQueryTextExceptions Exception | Condition |
---|
ApplicationException | When the DatabaseSpecificCreator is not set |
ORMRelationException | when 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