Namespaces

Types

Type PersisterFactory

Namespace NHibernate.Persister

Methods

Public instance methods

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

string ToString()

Parameters
return string

Public static methods

IEntityPersister Create(Type persisterClass, PersistentClass model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping cfg)

Creates a specific Persister - could be a built in or custom persister.
Parameters
return IEntityPersister
Type persisterClass
PersistentClass model
ICacheConcurrencyStrategy cache
ISessionFactoryImplementor factory
IMapping cfg

ICollectionPersister Create(Type persisterClass, Collection model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory)

Parameters
return ICollectionPersister
Type persisterClass
Collection model
ICacheConcurrencyStrategy cache
ISessionFactoryImplementor factory

IEntityPersister CreateClassPersister(PersistentClass model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping cfg)

Creates a built in Entity Persister or a custom Persister.
Parameters
return IEntityPersister
PersistentClass model
ICacheConcurrencyStrategy cache
ISessionFactoryImplementor factory
IMapping cfg

ICollectionPersister CreateCollectionPersister(Collection model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory)

Parameters
return ICollectionPersister
Collection model
ICacheConcurrencyStrategy cache
ISessionFactoryImplementor factory