The OneToOneType type exposes the following members.

Properties

  NameDescription
Public propertyForeignKeyDirection (Overrides EntityType..::..ForeignKeyDirection.)
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
(Overrides EntityType..::..IsAlwaysDirtyChecked.)
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 (Overrides EntityType..::..IsNullable.)
Public propertyIsOneToOne (Overrides EntityType..::..IsOneToOne.)
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 (Overrides EntityType..::..PropertyName.)
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 EntityType..::..UseLHSPrimaryKey.)

See Also