Namespaces

Types

Type OneToManyPersister

Namespace NHibernate.Persister.Collection

Parent AbstractCollectionPersister

Methods

Properties

Public instance methods

bool ConsumesCollectionAlias()

Parameters
return bool

bool ConsumesEntityAlias()

Parameters
return bool

void DeleteRows(IPersistentCollection collection, object id, ISessionImplementor session)

Parameters
IPersistentCollection collection
object id
ISessionImplementor session

bool Equals(object obj)

Parameters
return bool
object obj

string FilterFragment(string alias, IDictionary enabledFilters)

Parameters
return string
string alias
IDictionary enabledFilters

SqlString FromJoinFragment(string alias, bool innerJoin, bool includeSubclasses)

Parameters
return SqlString
string alias
bool innerJoin
bool includeSubclasses

String[] GetCollectionPropertyColumnAliases(string propertyName, string suffix)

Parameters
return String[]
string propertyName
string suffix

String[] GetElementColumnAliases(string suffix)

Parameters
return String[]
string suffix

String[] GetElementColumnNames(string alias)

Parameters
return String[]
string alias

int GetHashCode()

Parameters
return int

string GetIdentifierColumnAlias(string suffix)

Parameters
return string
string suffix

String[] GetIndexColumnAliases(string suffix)

Parameters
return String[]
string suffix

String[] GetIndexColumnNames(string alias)

Parameters
return String[]
string alias

String[] GetKeyColumnAliases(string suffix)

Parameters
return String[]
string suffix

string GetManyToManyFilterFragment(string alias, IDictionary enabledFilters)

Parameters
return string
string alias
IDictionary enabledFilters

string GetManyToManyOrderByString(string alias)

Parameters
return string
string alias

string GetSQLOrderByString(string alias)

Parameters
return string
string alias

string GetSQLWhereString(string alias)

Parameters
return string
string alias

Type GetType()

Parameters
return Type

void InitCollectionPropertyMap()

void Initialize(object key, ISessionImplementor session)

Parameters
object key
ISessionImplementor session

void InsertRows(IPersistentCollection collection, object id, ISessionImplementor session)

Parameters
IPersistentCollection collection
object id
ISessionImplementor session

bool IsAffectedByEnabledFilters(ISessionImplementor session)

Parameters
return bool
ISessionImplementor session

string OneToManyFilterFragment(string alias)

Parameters
return string
string alias

void PostInstantiate()

object ReadElement(IDataReader rs, object owner, String[] aliases, ISessionImplementor session)

Parameters
return object
IDataReader rs
object owner
String[] aliases
ISessionImplementor session

object ReadElementIdentifier(IDataReader rs, object owner, ISessionImplementor session)

Parameters
return object
IDataReader rs
object owner
ISessionImplementor session

object ReadIdentifier(IDataReader rs, string alias, ISessionImplementor session)

Parameters
return object
IDataReader rs
string alias
ISessionImplementor session

object ReadIndex(IDataReader rs, String[] aliases, ISessionImplementor session)

Parameters
return object
IDataReader rs
String[] aliases
ISessionImplementor session

object ReadKey(IDataReader dr, String[] aliases, ISessionImplementor session)

Parameters
return object
IDataReader dr
String[] aliases
ISessionImplementor session

void Recreate(IPersistentCollection collection, object id, ISessionImplementor session)

Parameters
IPersistentCollection collection
object id
ISessionImplementor session

void Remove(object id, ISessionImplementor session)

Parameters
object id
ISessionImplementor session

string SelectFragment(IJoinable rhs, string rhsAlias, string lhsAlias, string entitySuffix, string collectionSuffix, bool includeCollectionColumns)

Parameters
return string
IJoinable rhs
string rhsAlias
string lhsAlias
string entitySuffix
string collectionSuffix
bool includeCollectionColumns

string SelectFragment(string alias, string columnSuffix)

Parameters
return string
string alias
string columnSuffix

String[] ToColumns(string alias, string propertyName)

Parameters
return String[]
string alias
string propertyName

string ToString()

Parameters
return string

IType ToType(string propertyName)

Parameters
return IType
string propertyName

void UpdateRows(IPersistentCollection collection, object id, ISessionImplementor session)

Parameters
IPersistentCollection collection
object id
ISessionImplementor session

SqlString WhereJoinFragment(string alias, bool innerJoin, bool includeSubclasses)

Parameters
return SqlString
string alias
bool innerJoin
bool includeSubclasses

Public properties

ICacheConcurrencyStrategy Cache get;

return ICacheConcurrencyStrategy

ICollectionMetadata CollectionMetadata get;

return ICollectionMetadata

object CollectionSpace get;

return object

CollectionType CollectionType get;

return CollectionType

Type ElementClass get;

return Type

String[] ElementColumnNames get;

return String[]

IEntityPersister ElementPersister get;

return IEntityPersister

IType ElementType get;

return IType

ISessionFactoryImplementor Factory get;

return ISessionFactoryImplementor

FetchMode FetchMode get;

return FetchMode

bool HasCache get;

return bool

bool HasIndex get;

return bool

bool HasManyToManyOrdering get;

return bool

bool HasOrdering get;

return bool

bool HasOrphanDelete get;

return bool

bool HasWhere get;

return bool

string IdentifierColumnName get;

return string

IIdentifierGenerator IdentifierGenerator get;

return IIdentifierGenerator

IType IdentifierType get;

return IType

String[] IndexColumnNames get;

return String[]

IType IndexType get;

return IType

bool IsArray get;

return bool

bool IsCollection get;

return bool

bool IsInverse get;

return bool

bool IsLazy get;

return bool

bool IsManyToMany get;

return bool

bool IsOneToMany get;

return bool

bool IsPrimitiveArray get;

return bool

bool IsSubselectLoadable get;

return bool

bool IsVersioned get;

return bool

String[] KeyColumnNames get;

return String[]

IType KeyType get;

return IType

string Name get;

return string

Type OwnerClass get;

return Type

IEntityPersister OwnerEntityPersister get;

return IEntityPersister

string Role get;

return string

string TableName get;

return string

IType Type get;

return IType