RelationCollection Properties |
The RelationCollection type exposes the following members.
Name | Description | |
---|---|---|
Capacity | Gets or sets the number of elements that the CollectionBase can contain. (Inherited from CollectionBase.) | |
Count | Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden. (Inherited from CollectionBase.) | |
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.
| |
InnerList | Gets an ArrayList containing the list of elements in the CollectionBase instance. (Inherited from CollectionBase.) | |
Item |
Indexer in the collection.
| |
List | Gets an IList containing the list of elements in the CollectionBase instance. (Inherited from CollectionBase.) | |
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 CollectionBase has a fixed size. (Inherited from CollectionBase.) | |
IListIsReadOnly | Gets a value indicating whether the CollectionBase is read-only. (Inherited from CollectionBase.) | |
ICollectionIsSynchronized | Gets a value indicating whether access to the CollectionBase is synchronized (thread safe). (Inherited from CollectionBase.) | |
IListItem | Gets or sets the element at the specified index. (Inherited from CollectionBase.) | |
ICollectionSyncRoot | Gets an object that can be used to synchronize access to the CollectionBase. (Inherited from CollectionBase.) |