The IEntityPersister type exposes the following members.

Properties

  NameDescription
Public propertyCache
Get the cache (optional operation)
Public propertyCacheEntryStructure
Get the cache structure
Public propertyCanExtractIdOutOfEntity
Determine whether detahced instances of this entity carry their own identifier value.
Public propertyClassMetadata
Get the user-visible metadata for the class (optional operation)
Public propertyEntityMetamodel
Retrieve the underlying entity metamodel instance...
Public propertyEntityName
The entity name which this persister maps.
Public propertyFactory
The ISessionFactory to which this persister "belongs".
Public propertyHasCache
Does this class have a cache?
Public propertyHasCascades
Does this class declare any cascading save/update/deletes?
Public propertyHasCollections
Do instances of this class contain collections?
Public propertyHasIdentifierProperty
Does the class have a property holding the identifier value?
Public propertyHasInsertGeneratedProperties
Does this entity define any properties as being database-generated on insert?
Public propertyHasLazyProperties
Determine whether this entity defines any lazy properties (ala bytecode instrumentation).
Public propertyHasMutableProperties
Determine whether any properties of this entity are considered mutable.
Public propertyHasNaturalIdentifier
Determine whether this entity defines a natural identifier.
Public propertyHasProxy
Does this class support dynamic proxies?
Public propertyHasSubselectLoadableCollections
Determine whether this entity contains references to persistent collections which are fetchable by subselect?
Public propertyHasUpdateGeneratedProperties
Does this entity define any properties as being database-generated on update?
Public propertyIdentifierGenerator
Return the IIdentifierGenerator for the class
Public propertyIdentifierPropertyName
Get the name of the indentifier property (or return null) - need not return the name of an actual .NET property
Public propertyIdentifierType
Get the identifier type
Public propertyIsBatchLoadable
Is batch loading enabled?
Public propertyIsCacheInvalidationRequired
Should we always invalidate the cache instead of recaching updated state
Public propertyIsIdentifierAssignedByInsert
Is the identifier assigned before the insert by an IDGenerator or is it returned by the Insert() method?
Public propertyIsInherited
Determine whether the entity is inherited one or more other entities. In other words, is this entity a subclass of other entities.
Public propertyIsLazyPropertiesCacheable
Should lazy properties of this entity be cached?
Public propertyIsMutable
Are instances of this class mutable?
Public propertyIsSelectBeforeUpdateRequired
Is select snapshot before update enabled?
Public propertyIsVersioned
Does this source represent versioned (i.e., and thus optimistically lockable) data?
(Inherited from IOptimisticCacheSource.)
Public propertyIsVersioned
Are instances of this class versioned by a timestamp or version number column?
Public propertyIsVersionPropertyGenerated
Does this entity contain a version property that is defined to be database generated?
Public propertyNaturalIdentifierProperties
If the entity defines a natural id (HasNaturalIdentifier), which properties make up the natural id.
Public propertyPropertyCascadeStyles
Get the cascade styles of the properties (optional operation)
Public propertyPropertyCheckability
Properties that may be dirty (and thus should be dirty-checked). These include all updatable properties and some associations.
Public propertyPropertyInsertability
Gets if the Property is insertable.
Public propertyPropertyInsertGenerationInclusions
Which of the properties of this class are database generated values on insert?
Public propertyPropertyLaziness
Public propertyPropertyNames
Get the names of the class properties - doesn't have to be the names of the actual .NET properties (used for XML generation only)
Public propertyPropertyNullability
Get the nullability of the properties of this class
Public propertyPropertySpaces
Returns an array of objects that identify spaces in which properties of this entity are persisted, for instances of this class only.
Public propertyPropertyTypes
Get the Hibernate types of the class properties
Public propertyPropertyUpdateability
Gets if the Property is updatable
Public propertyPropertyUpdateGenerationInclusions
Which of the properties of this class are database generated values on update?
Public propertyPropertyVersionability
Get the "versionability" of the properties of this class (is the property optimistic-locked)
Public propertyQuerySpaces
Returns an array of objects that identify spaces in which properties of this entity are persisted, for instances of this class and its subclasses.
Public propertyRootEntityName
Returns an object that identifies the space in which identifiers of this entity hierarchy are unique.
Public propertyVersionComparator
Get the comparator used to compare two different version values together.
(Inherited from IOptimisticCacheSource.)
Public propertyVersionProperty
Which property holds the version number? (optional operation)
Public propertyVersionType
Get the type of versioning (optional operation)

See Also