RelationCollection Properties |
The RelationCollection type exposes the following members.
Name | Description | |
---|---|---|
Capacity |
Returns the capacity of the collection
| |
Count |
returns the number of relations in this collection
| |
CustomFilterParameters |
Gets Custom Filter Parameters, created in ToQueryText and which are used in custom filters.
| |
DatabaseSpecificCreator |
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.
| |
FromClauseDirectives |
Gets from clause directives which are to be set on FROM clause elements in the resulting SQL query.
| |
Item |
Indexer in the collection.
| |
ObeyWeakRelations |
Gets / sets ObeyWeakRelations, which is the flag to signal the collection what kind of join statements to generate in the
ToQueryText statement, which is called by the DQE. Weak relationships are relationships which are optional, for example a
customer with no orders is possible, because the relationship between customer and order is based on a field in order.
When this property is set to true (default: false), weak relationships will result in LEFT JOIN statements. When
set to false (which is the default), INNER JOIN statements are used.
| |
SelectListAlias |
Optional alias for select list fields. Used in entity fetches where the entity type to fetch has to be aliased because the source of the data
is a derived table or requires aliasing because the relations used require that. If specified, all predicates referring to the entity
type to fetch have to use the same alias.
| |
WillPotentiallyCauseDuplicateRows |
Gets a value indicating whether the contents of this relation collection will result in joins which result in duplicate data. This is the case
if there's at least one 1:n or m:n relation.
|
Name | Description | |
---|---|---|
IListIsFixedSize | Gets a value indicating whether the IList has a fixed size. | |
IListIsReadOnly | Gets a value indicating whether the IList is read-only. | |
ICollectionIsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). | |
IListItem | Gets or sets the element at the specified index. | |
ICollectionSyncRoot | Gets an object that can be used to synchronize access to the ICollection. |