Creates a specific Persister - could be a built in or custom persister.
Namespace:
NHibernate.PersisterAssembly: 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); |
Parameters
- persisterClass
- Type: System..::.Type
- model
- Type: NHibernate.Mapping..::.PersistentClass
- factory
- Type: NHibernate.Engine..::.ISessionFactoryImplementor
- cfg
- Type: NHibernate.Engine..::.IMapping