The OneToOneType type exposes the following members.

Constructors

  NameDescription
Public methodOneToOneType
Initializes a new instance of the OneToOneType class

Methods

  NameDescription
Public methodAssemble (Overrides AbstractType..::..Assemble(Object, ISessionImplementor, Object).)
Public methodBeforeAssemble (Inherited from AbstractType.)
Public methodCompare (Inherited from EntityType.)
Public methodDeepCopy (Inherited from EntityType.)
Public methodDisassemble (Overrides AbstractType..::..Disassemble(Object, ISessionImplementor, Object).)
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 AbstractType..::..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 EntityType..::..Hydrate(IDataReader, array<String>[]()[][], ISessionImplementor, Object).)
Public methodIsDirty(Object, Object, ISessionImplementor) (Overrides AbstractType..::..IsDirty(Object, Object, ISessionImplementor).)
Public methodIsDirty(Object, Object, array<Boolean>[]()[][], ISessionImplementor) (Overrides AbstractType..::..IsDirty(Object, Object, array<Boolean>[]()[][], ISessionImplementor).)
Public methodIsEqual(Object, Object, EntityMode) (Inherited from AbstractType.)
Public methodIsEqual(Object, Object, EntityMode, ISessionFactoryImplementor) (Inherited from EntityType.)
Public methodIsModified (Overrides AbstractType..::..IsModified(Object, Object, array<Boolean>[]()[][], ISessionImplementor).)
Protected methodIsNotEmbedded (Inherited from EntityType.)
Public methodIsNull (Overrides EntityType..::..IsNull(Object, ISessionImplementor).)
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) (Overrides AbstractType..::..NullSafeSet(IDbCommand, Object, Int32, ISessionImplementor).)
Public methodNullSafeSet(IDbCommand, Object, Int32, array<Boolean>[]()[][], ISessionImplementor) (Overrides AbstractType..::..NullSafeSet(IDbCommand, Object, Int32, array<Boolean>[]()[][], ISessionImplementor).)
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 AbstractType..::..SqlTypes(IMapping).)
Public methodToColumnNullness (Overrides AbstractType..::..ToColumnNullness(Object, IMapping).)
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 (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