The PersistentClass type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PersistentClass | Initializes a new instance of the PersistentClass class |
Methods
Extension Methods
| Name | Description | |
|---|---|---|
| As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
| IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsProxy | (Defined by NHibernateProxyHelper.) | |
| ToTypeParameters | (Defined by ReflectHelper.) |
Fields
| Name | Description | |
|---|---|---|
| NotNullDiscriminatorMapping | ||
| NullDiscriminatorMapping |
Properties
| Name | Description | |
|---|---|---|
| BatchSize | ||
| CacheConcurrencyStrategy |
When implemented by a class, gets or sets the CacheConcurrencyStrategy
to use to read/write instances of the persistent class to the Cache.
| |
| ClassName | ||
| CustomSQLDelete | ||
| CustomSQLDeleteCheckStyle | ||
| CustomSQLInsert | ||
| CustomSQLInsertCheckStyle | ||
| CustomSQLUpdate | ||
| CustomSQLUpdateCheckStyle | ||
| DirectSubclasses |
Gets an IEnumerable of Subclass objects
that directly inherit from this PersistentClass.
| |
| Discriminator |
When implemented by a class, gets or sets the SimpleValue
that contains information about the discriminator.
| |
| DiscriminatorColumnIterator | ||
| DiscriminatorValue |
Gets or Sets the value to use as the discriminator for the Class.
| |
| DynamicInsert |
Gets or Sets if the Insert Sql is built dynamically.
| |
| DynamicUpdate |
Gets or Sets if the Update Sql is built dynamically.
| |
| EntityName | ||
| EntityPersisterClass |
When implemented by a class, gets or sets the Type of the Persister.
| |
| FilterMap | ||
| HasEmbeddedIdentifier |
When implemented by a class, gets or sets a boolean indicating if the identifier is
embedded in the class.
| |
| HasIdentifierMapper | ||
| HasIdentifierProperty |
When implemented by a class, gets a boolean indicating
if the mapped class has a Property for the id.
| |
| HasPocoRepresentation | ||
| HasSubclasses |
Gets a boolean indicating if this PersistentClass has any subclasses.
| |
| HasSubselectLoadableCollections | ||
| Identifier |
When implemented by a class, gets or sets the SimpleValue
that contains information about the identifier.
| |
| IdentifierMapper | ||
| IdentifierProperty |
When implemented by a class, gets or sets the Property
that is used as the id.
| |
| IdentityTable | ||
| IsAbstract | ||
| IsCustomDeleteCallable | ||
| IsCustomInsertCallable | ||
| IsCustomUpdateCallable | ||
| IsDiscriminatorInsertable | ||
| IsDiscriminatorValueNotNull | ||
| IsDiscriminatorValueNull | ||
| IsExplicitPolymorphism |
When implemented by a class, gets or sets a boolean indicating if
explicit polymorphism should be used in Queries.
| |
| IsForceDiscriminator |
Gets or sets a boolean indicating if only values in the discriminator column that
are mapped will be included in the sql.
| |
| IsInherited |
When implemented by a class, gets a boolean indicating if this
mapped class is inherited from another.
| |
| IsJoinedSubclass | ||
| IsLazy | ||
| IsLazyPropertiesCacheable | ||
| IsMutable |
When implemented by a class, gets or set a boolean indicating
if the mapped class has properties that can be changed.
| |
| IsPolymorphic |
When implemented by a class, gets or sets if the mapped class has subclasses or is
a subclass.
| |
| IsVersioned |
When implemented by a class, gets a boolean indicating if the mapped class
has a version property.
| |
| JoinClosureIterator | ||
| JoinClosureSpan | ||
| JoinIterator | ||
| Key |
When implemented by a class, gets or sets the SimpleValue
that contains information about the Key.
| |
| KeyClosureIterator | ||
| LoaderName | ||
| MappedClass |
Gets the Type that is being mapped.
| |
| MetaAttributes | ||
| NodeName | ||
| NonDuplicatedPropertyIterator | ||
| OptimisticLockMode | ||
| PropertyClosureIterator |
When implemented by a class, gets an IEnumerable
of Property objects that this mapped class contains.
| |
| PropertyClosureSpan | ||
| PropertyIterator |
Build an iterator over the properties defined on this class. The returned
iterator only accounts for "normal" properties (i.e. non-identifier
properties).
| |
| ProxyInterface |
Gets or sets the Type to use as a Proxy.
| |
| ProxyInterfaceName | ||
| ReferenceablePropertyIterator |
Build a collection of properties which are "referenceable".
| |
| RootClazz |
When implemented by a class, gets the RootClass of the class
that is mapped in the class element.
| |
| RootTable |
When implemented by a class, gets the Table of the class
that is mapped in the class element.
| |
| SelectBeforeUpdate | ||
| SubclassClosureIterator | ||
| SubclassId | ||
| SubclassIterator |
Iterate over subclasses in a special 'order', most derived subclasses first.
| |
| SubclassJoinClosureIterator | ||
| SubclassPropertyClosureIterator |
Gets an IEnumerable of Property objects that
this mapped class contains and that all of its subclasses contain.
| |
| SubclassSpan |
Gets the number of subclasses that inherit either directly or indirectly.
| |
| SubclassTableClosureIterator |
Gets an IEnumerable of all of the Table objects that the
subclass finds its information in.
| |
| Superclass |
When implemented by a class, gets or sets the PersistentClass
that this mapped class is extending.
| |
| SynchronizedTables | ||
| Table |
Gets or Sets the Table that this class is stored in.
| |
| TableClosureIterator |
When implemented by a class, gets an IEnumerable
of Table objects that this mapped class reads from
and writes to.
| |
| TemporaryIdTableDDL | ||
| TemporaryIdTableName | ||
| TuplizerMap | ||
| UnjoinedPropertyIterator |
Build an enumerable over the properties defined on this class which
are not defined as part of a join.
As with PropertyIterator the returned iterator only accounts
for non-identifier properties.
| |
| Version |
When implemented by a class, gets or sets the Property
that is used as the version.
| |
| Where |
When implemented by a class, gets or sets the sql string that should
be a part of the where clause.
|