/// <summary>
        /// Get the instance from the current application's config file
        /// </summary>
        /// <returns></returns>
        public static NHibernateBurrowCfgSection CreateInstance()
        {
            NHibernateBurrowCfgSection section =
                ConfigurationManager.GetSection(SectionName) as NHibernateBurrowCfgSection;

            if (section == null)
            {
                throw new GeneralException("Section \"" + SectionName + "\" is not found");
            }
            section.pucs = new List <IPersistenceUnitCfg>();
            foreach (PersistenceUnitElement pue in section.PersistenceUnits)
            {
                section.pucs.Add(pue);
            }
            return(section);
        }
 protected virtual IBurrowConfig GetConfigurationInstance()
 {
     return(NHibernateBurrowCfgSection.CreateInstance());
 }