NPersistence Reference Guide

The OneToOne 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. By default no operations are cascaded.
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 entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime.
MappedBy
(Optional) The field that owns the relationship. This element is only specified on the inverse (non-owning) side of the association.
Optional
(Optional) Whether the association is optional. If set to false then a non-null relationship must always exist.
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. Defaults to the type of the field or property that stores the association.

See Also