The SpecialOneToOneType type exposes the following members.

Constructors

  NameDescription
Public methodSpecialOneToOneType
Initializes a new instance of the SpecialOneToOneType class

Methods

  NameDescription
Public methodAssemble (Inherited from OneToOneType.)
Public methodBeforeAssemble (Inherited from AbstractType.)
Public methodCompare (Inherited from EntityType.)
Public methodDeepCopy (Inherited from EntityType.)
Public methodDisassemble (Inherited from OneToOneType.)
Public methodEquals (Inherited from AbstractType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromXMLNode (Inherited from EntityType.)
Public methodGetAssociatedEntityName()()()()
The name of the associated entity.
(Inherited from EntityType.)
Public methodGetAssociatedEntityName(ISessionFactoryImplementor)
The name of the associated entity.
(Inherited from EntityType.)
Public methodGetAssociatedJoinable
Retrieves the {@link Joinable} defining the associated entity.
(Inherited from EntityType.)
Public methodGetColumnSpan (Overrides OneToOneType..::..GetColumnSpan(IMapping).)
Public methodGetHashCode()()()() (Inherited from AbstractType.)
Public methodGetHashCode(Object, EntityMode) (Inherited from AbstractType.)
Public methodGetHashCode(Object, EntityMode, ISessionFactoryImplementor) (Inherited from EntityType.)
Protected methodGetIdentifier (Inherited from EntityType.)
Public methodGetIdentifierOrUniqueKeyPropertyName
The name of the property on the associated entity to which our FK refers
(Inherited from EntityType.)
Public methodGetIdentifierOrUniqueKeyType
Determine the type of either (1) the identifier if we reference the associated entity's PK or (2) the unique key to which we refer (i.e. the property-ref).
(Inherited from EntityType.)
Public methodGetOnCondition (Inherited from EntityType.)
Public methodGetSemiResolvedType (Inherited from EntityType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHydrate (Overrides OneToOneType..::..Hydrate(IDataReader, array<String>[]()[][], ISessionImplementor, Object).)
Public methodIsDirty(Object, Object, ISessionImplementor) (Inherited from OneToOneType.)
Public methodIsDirty(Object, Object, array<Boolean>[]()[][], ISessionImplementor) (Inherited from OneToOneType.)
Public methodIsEqual(Object, Object, EntityMode) (Inherited from AbstractType.)
Public methodIsEqual(Object, Object, EntityMode, ISessionFactoryImplementor) (Inherited from EntityType.)
Public methodIsModified (Inherited from OneToOneType.)
Protected methodIsNotEmbedded (Inherited from EntityType.)
Public methodIsNull (Inherited from OneToOneType.)
Public methodIsSame
Two entities are considered the same when their instances are the same.
(Inherited from EntityType.)
Public methodLoadByUniqueKey
Load an instance by a unique key that is not the primary key.
(Inherited from EntityType.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNullSafeGet(IDataReader, String, ISessionImplementor, Object) (Inherited from EntityType.)
Public methodNullSafeGet(IDataReader, array<String>[]()[][], ISessionImplementor, Object)
Converts the id contained in the IDataReader to an object.
(Inherited from EntityType.)
Public methodNullSafeSet(IDbCommand, Object, Int32, ISessionImplementor) (Inherited from OneToOneType.)
Public methodNullSafeSet(IDbCommand, Object, Int32, array<Boolean>[]()[][], ISessionImplementor) (Inherited from OneToOneType.)
Public methodReplace(Object, Object, ISessionImplementor, Object, IDictionary) (Inherited from EntityType.)
Public methodReplace(Object, Object, ISessionImplementor, Object, IDictionary, ForeignKeyDirection) (Inherited from AbstractType.)
Protected methodResolveIdentifier(Object, ISessionImplementor)
Resolves the identifier to the actual object.
(Inherited from EntityType.)
Public methodResolveIdentifier(Object, ISessionImplementor, Object)
Resolve an identifier or unique key value
(Inherited from EntityType.)
Public methodSemiResolve (Inherited from AbstractType.)
Public methodSetToXMLNode (Inherited from EntityType.)
Public methodSqlTypes (Overrides OneToOneType..::..SqlTypes(IMapping).)
Public methodToColumnNullness (Inherited from OneToOneType.)
Public methodToLoggableString (Inherited from EntityType.)
Public methodToString (Inherited from EntityType.)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Fields

  NameDescription
Protected fielduniqueKeyPropertyName (Inherited from EntityType.)

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