The IEntityPersister type exposes the following members.

Properties

  NameDescription
Cache
Get the cache (optional operation)
ClassMetadata
Get the user-visible metadata for the class (optional operation)
ClassName
The classname of the persistent class (used only for messages)
ConcreteProxyClass
Get the proxy interface that instances of this concrete class will be cast to
Factory
The session factory this instance is associated with.
HasCache
Does this class have a cache?
HasCascades
Does this class declare any cascading save/update/deletes?
HasCollections
Do instances of this class contain collections?
HasIdentifierProperty
Does the class have a property holding the identifier value?
HasIdentifierPropertyOrEmbeddedCompositeIdentifier
Gets if the Type has a Property for the <id> or uses a <composite-id> to store the id.
HasInsertGeneratedProperties
Does this entity define any properties as being database-generated on insert?
HasProxy
Does this class support dynamic proxies?
HasUpdateGeneratedProperties
Does this entity define any properties as being database-generated on update?
IdentifierGenerator
Return the IIdentifierGenerator for the class
IdentifierPropertyName
Get the name of the indentifier property (or return null) - need not return the name of an actual .NET property
IdentifierSpace
Returns an object that identifies the space in which identifiers of this class hierarchy are unique. eg. a table name, etc.
IdentifierType
Get the identifier type
ImplementsLifecycle
Does the class implement the ILifecycle inteface?
ImplementsValidatable
Does the class implement the IValidatable interface?
IsBatchLoadable
Is batch loading enabled?
IsCacheInvalidationRequired
Should we always invalidate the cache instead of recaching updated state
IsIdentifierAssignedByInsert
Is the identifier assigned before the insert by an IDGenerator or is it returned by the Insert() method?
IsMutable
Are instances of this class mutable?
IsVersioned
Are instances of this class versioned by a timestamp or version number column?
IsVersionPropertyGenerated
Does this entity contain a version property that is defined to be database generated?
MappedClass
The persistent class
PropertyCascadeStyles
Get the cascade styles of the properties (optional operation)
PropertyCheckability
Properties that may be dirty (and thus should be dirty-checked). These include all updatable properties and some associations.
PropertyInsertability
Gets if the Property is insertable.
PropertyNames
Get the names of the class properties - doesn't have to be the names of the actual .NET properties (used for XML generation only)
PropertyNullability
Get the nullability of the properties of this class
PropertySpaces
Returns an array of objects that identifies spaces in which properties of this class instance are persisted. eg. table names.
PropertyTypes
Get the Hibernate types of the class properties
PropertyUpdateability
Gets if the Property is updatable
PropertyVersionability
Get the "versionability" of the properties of this class (is the property optimistic-locked)
QuerySpaces
Returns an array of objects that identify spaces in which properties of this class are persisted, for instances of this class and its subclasses.
VersionProperty
Which property holds the version number? (optional operation)
VersionType
Get the type of versioning (optional operation)

See Also