The EntityType type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EntityType | Constructs the requested entity type mapping. |
Methods
Extension Methods
| Name | Description | |
|---|---|---|
| As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
| IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsProxy | (Defined by NHibernateProxyHelper.) | |
| ToTypeParameters | (Defined by ReflectHelper.) |
Fields
| Name | Description | |
|---|---|---|
| uniqueKeyPropertyName |
Properties
| Name | Description | |
|---|---|---|
| ForeignKeyDirection |
When implemented by a class, gets the type of foreign key directionality
of this association.
| |
| IsAlwaysDirtyChecked | ||
| IsAnyType |
Gets a value indicating if the implementation is an "object" type
(Inherited from AbstractType.) | |
| IsAssociationType | (Overrides AbstractType..::..IsAssociationType.) | |
| IsCollectionType |
Gets a value indicating if the AbstractType is a CollectionType.
(Inherited from AbstractType.) | |
| IsComponentType |
Gets a value indicating if the AbstractType is an IAbstractComponentType.
(Inherited from AbstractType.) | |
| IsEmbeddedInXML | ||
| IsEntityType | Explicitly, an entity type is an entity type (Overrides AbstractType..::..IsEntityType.) | |
| IsMutable | (Overrides AbstractType..::..IsMutable.) | |
| IsNullable | ||
| IsOneToOne | ||
| IsReferenceToPrimaryKey | ||
| IsUniqueKeyReference | ||
| IsXMLElement | (Overrides AbstractType..::..IsXMLElement.) | |
| LHSPropertyName | ||
| Name | (Overrides AbstractType..::..Name.) | |
| PropertyName | ||
| ReturnedClass |
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.) | |
| RHSUniqueKeyPropertyName | ||
| UseLHSPrimaryKey |
Is the foreign key the primary key of the table?
|