The OneToOneType type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| OneToOneType | Initializes a new instance of the OneToOneType class |
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 | (Inherited from EntityType.) |
Properties
| Name | Description | |
|---|---|---|
| ForeignKeyDirection | (Overrides EntityType..::..ForeignKeyDirection.) | |
| IsAlwaysDirtyChecked |
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.) | |
| IsAnyType |
Gets a value indicating if the implementation is an "object" type
(Inherited from AbstractType.) | |
| IsAssociationType | (Inherited from EntityType.) | |
| 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 | (Inherited from EntityType.) | |
| IsEntityType | Explicitly, an entity type is an entity type (Inherited from EntityType.) | |
| IsMutable | (Inherited from EntityType.) | |
| IsNullable | (Overrides EntityType..::..IsNullable.) | |
| IsOneToOne | (Overrides EntityType..::..IsOneToOne.) | |
| IsReferenceToPrimaryKey | (Inherited from EntityType.) | |
| IsUniqueKeyReference | (Inherited from EntityType.) | |
| IsXMLElement | (Inherited from EntityType.) | |
| LHSPropertyName | (Inherited from EntityType.) | |
| Name | (Inherited from EntityType.) | |
| PropertyName | (Overrides EntityType..::..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...
(Inherited from EntityType.) | |
| RHSUniqueKeyPropertyName | (Inherited from EntityType.) | |
| UseLHSPrimaryKey | (Overrides EntityType..::..UseLHSPrimaryKey.) |