Creates a specific Persister - could be a built in or custom persister.

Namespace:  NHibernate.Persister
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function Create ( _
	persisterClass As Type, _
	model As PersistentClass, _
	cache As ICacheConcurrencyStrategy, _
	factory As ISessionFactoryImplementor, _
	cfg As IMapping _
) As IEntityPersister
C#
public static IEntityPersister Create(
	Type persisterClass,
	PersistentClass model,
	ICacheConcurrencyStrategy cache,
	ISessionFactoryImplementor factory,
	IMapping cfg
)
Visual C++
public:
static IEntityPersister^ Create(
	Type^ persisterClass, 
	PersistentClass^ model, 
	ICacheConcurrencyStrategy^ cache, 
	ISessionFactoryImplementor^ factory, 
	IMapping^ cfg
)
JavaScript
NHibernate.Persister.PersisterFactory.create = function(persisterClass, model, cache, factory, cfg);

See Also