Метод | Описание | |
---|---|---|
Configure ( this config, XmlReader textReader, string factoryName ) : NHibernate.Cfg.Configuration |
Configure NHibernate from a specified session-factory.
|
|
Configure ( this config, string fileName, string factoryName ) : NHibernate.Cfg.Configuration |
Configure NHibernate from a specified session-factory.
|
Метод | Описание | |
---|---|---|
PrepareConfiguration ( |
Parses the configuration xml and ensures the target session-factory is the only one included.
|
public static Configure ( this config, XmlReader textReader, string factoryName ) : NHibernate.Cfg.Configuration | ||
config | this | |
textReader | XmlReader | The XmlReader containing the hibernate-configuration. |
factoryName | string | Name value of the desired session-factory. |
Результат | NHibernate.Cfg.Configuration |
public static Configure ( this config, string fileName, string factoryName ) : NHibernate.Cfg.Configuration | ||
config | this | |
fileName | string | System location of '.cfg.xml' configuration file. |
factoryName | string | Name value of the desired session-factory. |
Результат | NHibernate.Cfg.Configuration |