NPersistence Reference Guide

The OneToMany type exposes the following fields.

Fields

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Cascade
(Optional) The operations that must be cascaded to the target of the association. Defaults to no operations being cascaded. When the target collection is a Dictionary, the cascade element applies to the Dictionary value.
Fetch
(Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime.
MappedBy
The field that owns the relationship. Required unless the relationship is unidirectional.
OrphanRemoval
(Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities.
TargetEntity
(Optional) The entity class that is the target of the association. Optional only if the collection property is defined using generics. Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics.

See Also