The SpecialOneToOneType type exposes the following members.

Properties

  NameDescription
Public propertyForeignKeyDirection (Inherited from OneToOneType.)
Public propertyIsAlwaysDirtyChecked
We don't need to dirty check one-to-one because of how assemble/disassemble is implemented and because a one-to-one association is never dirty
(Inherited from OneToOneType.)
Public propertyIsAnyType
Gets a value indicating if the implementation is an "object" type
(Inherited from AbstractType.)
Public propertyIsAssociationType (Inherited from EntityType.)
Public propertyIsCollectionType
Gets a value indicating if the AbstractType is a CollectionType.
(Inherited from AbstractType.)
Public propertyIsComponentType
Gets a value indicating if the AbstractType is an IAbstractComponentType.
(Inherited from AbstractType.)
Public propertyIsEmbeddedInXML (Inherited from EntityType.)
Public propertyIsEntityType
Explicitly, an entity type is an entity type
(Inherited from EntityType.)
Public propertyIsMutable (Inherited from EntityType.)
Public propertyIsNullable (Inherited from OneToOneType.)
Public propertyIsOneToOne (Inherited from OneToOneType.)
Public propertyIsReferenceToPrimaryKey (Inherited from EntityType.)
Public propertyIsUniqueKeyReference (Inherited from EntityType.)
Public propertyIsXMLElement (Inherited from EntityType.)
Public propertyLHSPropertyName (Inherited from EntityType.)
Public propertyName (Inherited from EntityType.)
Public propertyPropertyName (Inherited from OneToOneType.)
Public propertyReturnedClass
This returns the wrong class for an entity with a proxy, or for a named entity. Theoretically it should return the proxy class, but it doesn't.

The problem here is that we do not necessarily have a ref to the associated entity persister (nor to the session factory, to look it up) which is really needed to "do the right thing" here...

(Inherited from EntityType.)
Public propertyRHSUniqueKeyPropertyName (Inherited from EntityType.)
Public propertyUseLHSPrimaryKey (Overrides OneToOneType..::..UseLHSPrimaryKey.)

See Also