Namespaces

Types

Type IAssociationType

Namespace NHibernate.Type

Interfaces IType

Methods

Properties

Public instance methods

Type GetAssociatedClass(ISessionFactoryImplementor factory)

Parameters
return Type
ISessionFactoryImplementor factory

IJoinable GetAssociatedJoinable(ISessionFactoryImplementor factory)

Get the "persister" for this association - a class or collection persister
Parameters
return IJoinable
ISessionFactoryImplementor factory

string GetOnCondition(string alias, ISessionFactoryImplementor factory, IDictionary enabledFilters)

Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join condition.
Parameters
return string
string alias
ISessionFactoryImplementor factory
IDictionary enabledFilters

Public properties

ForeignKeyDirection ForeignKeyDirection get;

When implemented by a class, gets the type of foreign key directionality of this association.
return ForeignKeyDirection

bool IsAlwaysDirtyChecked get;

Do we dirty check this association, even when there are no columns to be updated.
return bool

string LHSPropertyName get;

Get the name of the property in the owning entity that provides the join key (null if the identifier)
return string

string RHSUniqueKeyPropertyName get;

The name of a unique property of the associated entity that provides the join key (null if the identifier of an entity, or key of a collection)
return string

bool UseLHSPrimaryKey get;

Is the primary key of the owning entity table to be used in the join?
return bool