A one-to-one association to an entity

Namespace:  NHibernate.Type
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class OneToOneType _
	Inherits EntityType _
	Implements IAssociationType, IType, ICacheAssembler
C#
[SerializableAttribute]
public class OneToOneType : EntityType, 
	IAssociationType, IType, ICacheAssembler
Visual C++
[SerializableAttribute]
public ref class OneToOneType : public EntityType, 
	IAssociationType, IType, ICacheAssembler
JavaScript
NHibernate.Type.OneToOneType = function();

Type.createClass(
	'NHibernate.Type.OneToOneType',
	NHibernate.Type.EntityType,
	NHibernate.Type.IAssociationType,
	NHibernate.Type.IType,
	NHibernate.Type.ICacheAssembler);

Inheritance Hierarchy

System..::.Object
  NHibernate.Type..::.AbstractType
    NHibernate.Type..::.EntityType
      NHibernate.Type..::.OneToOneType

See Also