FluentNHibernate.Cfg.AutoMappingsContainer.Apply C# (CSharp) Метод

Apply() приватный Метод

Applies any added mappings to the NHibernate Configuration
private Apply ( NHibernate.Cfg.Configuration cfg ) : void
cfg NHibernate.Cfg.Configuration NHibernate Configuration instance
Результат void
        internal void Apply(Configuration cfg)
        {
            foreach (var mapping in mappings)
            {
                mapping.CompileMappings();

                if (!string.IsNullOrEmpty(exportPath))
                    mapping.WriteMappingsTo(exportPath);

                mapping.Configure(cfg);
            }
        }