Namespaces

Types

Type Subclass

Namespace NHibernate.Mapping

Parent PersistentClass

Methods

Properties

Public instance methods

void AddFilter(string name, string condition)

Parameters
string name
string condition

void AddProperty(Property p)

Add the Property to this PersistentClass.
This also adds the Property to the Superclass' collection of Subclass Properties.
Parameters
Property p The Property to add.

void AddSubclass(Subclass subclass)

Parameters
Subclass subclass

void AddSubclassProperty(Property p)

Adds a Property that is implemented by a subclass.
This also adds the Property to the Superclass' collection of Subclass Properties.
Parameters
Property p The Property implemented by a subclass.

void AddSubclassTable(Table table)

Adds a Table that a subclass is stored in.
This also adds the Table to the Superclass' collection of Subclass Tables.
Parameters
Table table The Table the subclass is stored in.

void AddSynchronizedTable(string table)

Parameters
string table

void CreateForeignKey()

void CreatePrimaryKey(Dialect dialect)

Parameters
Dialect dialect

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

MetaAttribute GetMetaAttribute(string name)

Parameters
return MetaAttribute
string name

Property GetProperty(string propertyName)

Parameters
return Property
string propertyName

Property GetRecursiveProperty(string propertyPath)

Parameters
return Property
string propertyPath

Property GetReferencedProperty(string propertyPath)

Parameters
return Property
string propertyPath

Type GetType()

Parameters
return Type

void SetCustomSQLDelete(string sql, bool callable, ExecuteUpdateResultCheckStyle checkStyle)

Parameters
string sql
bool callable
ExecuteUpdateResultCheckStyle checkStyle

void SetCustomSQLInsert(string sql, bool callable, ExecuteUpdateResultCheckStyle checkStyle)

Parameters
string sql
bool callable
ExecuteUpdateResultCheckStyle checkStyle

void SetCustomSQLUpdate(string sql, bool callable, ExecuteUpdateResultCheckStyle checkStyle)

Parameters
string sql
bool callable
ExecuteUpdateResultCheckStyle checkStyle

string ToString()

Parameters
return string

void Validate(IMapping mapping)

Parameters
IMapping mapping

Public properties

int BatchSize get; set;

return int

string CacheConcurrencyStrategy get; set;

Gets or sets the CacheConcurrencyStrategy to use to read/write instances of the persistent class to the Cache.
return string

Type ClassPersisterClass get; set;

return Type

SqlString CustomSQLDelete get;

return SqlString

ExecuteUpdateResultCheckStyle CustomSQLDeleteCheckStyle get;

return ExecuteUpdateResultCheckStyle

SqlString CustomSQLInsert get;

return SqlString

ExecuteUpdateResultCheckStyle CustomSQLInsertCheckStyle get;

return ExecuteUpdateResultCheckStyle

SqlString CustomSQLUpdate get;

return SqlString

ExecuteUpdateResultCheckStyle CustomSQLUpdateCheckStyle get;

return ExecuteUpdateResultCheckStyle

ICollection DirectSubclasses get;

return ICollection

SimpleValue Discriminator get; set;

Gets or sets the SimpleValue that contains information about the discriminator.
return SimpleValue

string DiscriminatorValue get; set;

return string

bool DynamicInsert get; set;

return bool

bool DynamicUpdate get; set;

return bool

IDictionary FilterMap get;

return IDictionary

bool HasEmbeddedIdentifier get; set;

Gets or sets a boolean indicating if the identifier is embedded in the class.
An embedded identifier is true when using a composite-id specifying properties of the class as the key-property instead of using a class as the composite-id .
return bool

bool HasIdentifierProperty get;

Gets a boolean indicating if the mapped class has a Property for the id .
return bool

bool HasPojoRepresentation get;

return bool

bool HasSubclasses get;

return bool

bool HasSubselectLoadableCollections get; set;

return bool

SimpleValue Identifier get; set;

Gets or sets the SimpleValue that contains information about the identifier.
return SimpleValue

Property IdentifierProperty get; set;

Gets or sets the Property that is used as the id .
return Property

object IsAbstract get;

return object

bool IsCustomDeleteCallable get;

return bool

bool IsCustomInsertCallable get;

return bool

bool IsCustomUpdateCallable get;

return bool

bool IsDiscriminatorInsertable get; set;

return bool

bool IsDiscriminatorValueNotNull get;

return bool

bool IsDiscriminatorValueNull get;

return bool

bool IsExplicitPolymorphism get; set;

Gets or sets a boolean indicating if explicit polymorphism should be used in Queries.
return bool

bool IsForceDiscriminator get; set;

return bool

bool IsInherited get;

Gets a boolean indicating if this mapped class is inherited from another.
return bool

bool IsJoinedSubclass get;

return bool

bool IsLazy get; set;

return bool

bool IsMutable get; set;

Gets or set a boolean indicating if the mapped class has properties that can be changed.
return bool

bool IsPolymorphic get; set;

Gets or sets if the mapped class is a subclass.
${WriteSummary(content)}
return bool

bool IsVersioned get;

Gets a boolean indicating if the mapped class has a version property.
return bool

SimpleValue Key get; set;

Gets or sets the SimpleValue that contains information about the Key.
return SimpleValue

string LoaderName get; set;

return string

Type MappedClass get; set;

return Type

IDictionary MetaAttributes get; set;

return IDictionary

string Name get;

return string

OptimisticLockMode OptimisticLockMode get; set;

return OptimisticLockMode

ICollection PropertyClosureCollection get;

Gets an ICollection of Property objects that this mapped class contains.
This is all of the properties of this mapped class and each mapped class that it is inheriting from.
return ICollection

int PropertyClosureSpan get;

return int

ICollection PropertyCollection get;

return ICollection

Type ProxyInterface get; set;

return Type

ICollection ReferenceablePropertyCollection get;

return ICollection

RootClass RootClazz get;

Gets the RootClass of the class that is mapped in the class element.
return RootClass

Table RootTable get;

Gets the Table of the class that is mapped in the class element.
return Table

bool SelectBeforeUpdate get; set;

return bool

ICollection SubclassCollection get;

return ICollection

int SubclassId get;

return int

ICollection SubclassPropertyClosureCollection get;

return ICollection

int SubclassSpan get;

return int

ICollection SubclassTableClosureCollection get;

return ICollection

PersistentClass Superclass get; set;

Gets or sets the PersistentClass that this mapped class is extending.
return PersistentClass

ISet SynchronizedTables get;

return ISet

Table Table get; set;

Gets or Sets the Table that this class is stored in.
This also adds the Table to the Superclass' collection of Subclass Tables.
return Table

ICollection TableClosureCollection get;

Gets an ICollection of Table objects that this mapped class reads from and writes to.
This is all of the tables of this mapped class and each mapped class that it is inheriting from.
return ICollection

Property Version get; set;

Gets or sets the Property that is used as the version.
return Property

string Where get; set;

Gets the sql string that should be a part of the where clause.
return string