Namespaces

Types

Type IQueryableCollection

Namespace NHibernate.Persister.Collection

Interfaces IPropertyMapping, IJoinable, ICollectionPersister

Methods

Properties

Public instance methods

String[] GetElementColumnNames(string alias)

Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association), aliased by the given table alias
Parameters
return String[]
string alias

string GetManyToManyOrderByString(string alias)

Get the order-by to be applied at the target table of a many to many
Parameters
return string Appropriate order-by fragment or empty string.
string alias The alias for the many-to-many target table

string GetSQLOrderByString(string alias)

Get the order by SQL
Parameters
return string
string alias

string GetSQLWhereString(string alias)

Get the extra where clause filter SQL
Parameters
return string
string alias

string SelectFragment(string alias, string columnSuffix)

Generate a list of collection index and element columns
Parameters
return string
string alias
string columnSuffix

Public properties

String[] ElementColumnNames get;

Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association)
return String[]

IEntityPersister ElementPersister get;

Get the persister of the element class, if this is a collection of entities (optional operation). Note that for a one-to-many association, the returned persister must be OuterJoinLoadable .
return IEntityPersister

FetchMode FetchMode get;

Should we load this collection role by outer joining?
return FetchMode

bool HasWhere get;

Does this collection role have a where clause filter?
return bool

String[] IndexColumnNames get;

Get the names of the collection index columns if this is an indexed collection (optional operation)
return String[]