A mapping for a one-to-one association.

Namespace: NHibernate.Mapping
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class OneToOne : ToOne
Visual Basic
<SerializableAttribute> _
Public Class OneToOne _
	Inherits ToOne
Visual C++
[SerializableAttribute]
public ref class OneToOne : public ToOne

Inheritance Hierarchy

System..::..Object
  NHibernate.Mapping..::..SimpleValue
    NHibernate.Mapping..::..ToOne
      NHibernate.Mapping..::..OneToOne

See Also