var config = new Configuration(); string connectionString = config.GetProperty("connection.connection_string");
var config = new Configuration(); string myProperty = config.GetProperty("my.custom.property");This code example retrieves a custom configured property from the NHibernate configuration object. Package Library: NHibernate.Cfg Overall, the NHibernate.Cfg Configuration GetProperty method is a useful tool for retrieving configuration properties in NHibernate. The package library for this method is NHibernate.Cfg.