The IDiscriminatorType type exposes the following members.

Methods

  NameDescription
Public methodAssemble
Reconstruct the object from its cached "disassembled" state.
(Inherited from ICacheAssembler.)
Public methodBeforeAssemble
Called before assembling a query result set from the query cache, to allow batch fetching of entities missing from the second-level cache.
(Inherited from ICacheAssembler.)
Public methodCompare
compare two instances of the type
(Inherited from IType.)
Public methodDeepCopy
When implemented by a class, returns a deep copy of the persistent state, stopping at entities and at collections.
(Inherited from IType.)
Public methodDisassemble
Return a cacheable "disassembled" representation of the object.
(Inherited from ICacheAssembler.)
Public methodFromXMLNode
Parse the XML representation of an instance.
(Inherited from IType.)
Public methodGetColumnSpan
When implemented by a class, returns how many columns are used to persist this type.
(Inherited from IType.)
Public methodGetHashCode(Object, EntityMode)
Get a hashcode, consistent with persistence "equality"
(Inherited from IType.)
Public methodGetHashCode(Object, EntityMode, ISessionFactoryImplementor)
Get a hashcode, consistent with persistence "equality"
(Inherited from IType.)
Public methodGetSemiResolvedType
Get the type of a semi-resolved value.
(Inherited from IType.)
Public methodHydrate
When implemented by a class, retrieves an instance of the mapped class, or the identifier of an entity or collection from a IDataReader.
(Inherited from IType.)
Public methodIsDirty(Object, Object, ISessionImplementor)
When implemented by a class, should the parent be considered dirty, given both the old and current field or element value?
(Inherited from IType.)
Public methodIsDirty(Object, Object, array<Boolean>[]()[][], ISessionImplementor) (Inherited from IType.)
Public methodIsEqual(Object, Object, EntityMode)
Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
(Inherited from IType.)
Public methodIsEqual(Object, Object, EntityMode, ISessionFactoryImplementor)
Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
(Inherited from IType.)
Public methodIsModified (Inherited from IType.)
Public methodIsSame
Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state - taking a shortcut for entity references.
(Inherited from IType.)
Public methodNullSafeGet(IDataReader, String, ISessionImplementor, Object)
When implemented by a class, gets an instance of the object mapped by this IType from the IDataReader.
(Inherited from IType.)
Public methodNullSafeGet(IDataReader, array<String>[]()[][], ISessionImplementor, Object)
When implemented by a class, gets an instance of the object mapped by this IType from the IDataReader.
(Inherited from IType.)
Public methodNullSafeSet(IDbCommand, Object, Int32, ISessionImplementor)
When implemented by a class, puts the value/values from the mapped class into the IDbCommand.
(Inherited from IType.)
Public methodNullSafeSet(IDbCommand, Object, Int32, array<Boolean>[]()[][], ISessionImplementor)
When implemented by a class, puts the value/values from the mapped class into the IDbCommand.
(Inherited from IType.)
Public methodObjectToSQLString
When implemented by a class, return a String representation of the value, suitable for embedding in an SQL statement
(Inherited from ILiteralType.)
Public methodReplace(Object, Object, ISessionImplementor, Object, IDictionary) (Inherited from IType.)
Public methodReplace(Object, Object, ISessionImplementor, Object, IDictionary, ForeignKeyDirection)
During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging. For immutable objects, or null values, it is safe to simply return the first parameter. For mutable objects, it is safe to return a copy of the first parameter. For objects with component values, it might make sense to recursively replace component values.
(Inherited from IType.)
Public methodResolveIdentifier
When implemented by a class, maps identifiers to Entities or Collections.
(Inherited from IType.)
Public methodSemiResolve
Given a hydrated, but unresolved value, return a value that may be used to reconstruct property-ref associations.
(Inherited from IType.)
Public methodSetToXMLNode
A representation of the value to be embedded in an XML element.
(Inherited from IType.)
Public methodSqlTypes
When implemented by a class, returns the SqlTypes for the columns mapped by this IType.
(Inherited from IType.)
Public methodStringToObject
When implemented by a class, converts the xml string from the mapping file to the .NET object.
(Inherited from IIdentifierType.)
Public methodToColumnNullness
Given an instance of the type, return an array of boolean, indicating which mapped columns would be null.
(Inherited from IType.)
Public methodToLoggableString
When implemented by a class, a representation of the value to be embedded in an XML element
(Inherited from IType.)

Properties

  NameDescription
Public propertyIsAnyType (Inherited from IType.)
Public propertyIsAssociationType
When implemented by a class, gets a value indicating if the implementor is castable to an an IAssociationType
(Inherited from IType.)
Public propertyIsCollectionType
When implemented by a class, gets a value indicating if the implementor is a collection type
(Inherited from IType.)
Public propertyIsComponentType
When implemented by a class, gets a value indicating if the implementor is an IAbstractComponentType.
(Inherited from IType.)
Public propertyIsEntityType
When implemented by a class, gets a value indicating if the implementor extends EntityType
(Inherited from IType.)
Public propertyIsMutable
When implemented by a class, gets the value indicating if the objects of this IType are mutable.
(Inherited from IType.)
Public propertyIsXMLElement (Inherited from IType.)
Public propertyName
When implemented by a class, gets the abbreviated name of the type.
(Inherited from IType.)
Public propertyReturnedClass
When implemented by a class, gets the Type returned by the NullSafeGet() methods.
(Inherited from IType.)

See Also