The EntityType type exposes the following members.

Properties

  NameDescription
Public propertyForeignKeyDirection
When implemented by a class, gets the type of foreign key directionality of this association.
Public propertyIsAlwaysDirtyChecked
Public propertyIsAnyType
Gets a value indicating if the implementation is an "object" type
(Inherited from AbstractType.)
Public propertyIsAssociationType (Overrides AbstractType..::..IsAssociationType.)
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
Public propertyIsEntityType
Explicitly, an entity type is an entity type
(Overrides AbstractType..::..IsEntityType.)
Public propertyIsMutable (Overrides AbstractType..::..IsMutable.)
Public propertyIsNullable
Public propertyIsOneToOne
Public propertyIsReferenceToPrimaryKey
Public propertyIsUniqueKeyReference
Public propertyIsXMLElement (Overrides AbstractType..::..IsXMLElement.)
Public propertyLHSPropertyName
Public propertyName (Overrides AbstractType..::..Name.)
Public propertyPropertyName
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...

(Overrides AbstractType..::..ReturnedClass.)
Public propertyRHSUniqueKeyPropertyName
Public propertyUseLHSPrimaryKey
Is the foreign key the primary key of the table?

See Also