Namespaces

Types

Type RootClass

Namespace NHibernate.Mapping

Parent PersistentClass

Methods

Properties

Fields

Public instance methods

void AddFilter(string name, string condition)

Parameters
string name
string condition

void AddProperty(Property p)

Parameters
Property p

void AddSubclass(Subclass subclass)

Adds a Subclass to the class hierarchy.
${WriteSummary(content)}
Parameters
Subclass subclass The Subclass to add to the hierarchy.

void AddSubclassProperty(Property p)

Parameters
Property p

void AddSubclassTable(Table table)

Parameters
Table table

void AddSynchronizedTable(string table)

Parameters
string table

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

string CacheRegionName get; set;

Gets or sets the cache region name.
return string

Type ClassPersisterClass get; set;

Gets or sets the Type of the Persister.
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;

Gets or sets a boolean indicating if only values in the discriminator column that are mapped will be included in the sql.
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 has subclasses.
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.
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;

return Table

ICollection TableClosureCollection get;

Gets an ICollection of Table objects that this mapped class reads from and writes to.
There is only one Table in the ICollection since this is the root class.
return ICollection

Property Version get; set;

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

string Where get; set;

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

Public fields

string DefaultIdentifierColumnName

The default name of the column for the Identifier
return string

string DefaultDiscriminatorColumnName

The default name of the column for the Discriminator
return string