A propriedade AddAssembly da classe NHibernate.Cfg.Configuration é usada para adicionar um assembly contendo mapeamentos de classes ao objeto de configuração do NHibernate. Ao chamar este método, todas as classes mapeadas contidas no assembly serão configuradas e prontas para uso pelo NHibernate. Isso é útil para adicionar facilmente todas as classes mapeadas de um assembly em uma única chamada, evitando a necessidade de adicionar cada classe individualmente. A propriedade AddAssembly permite uma configuração mais simplificada e eficiente do NHibernate em aplicativos C#.
NHibernate.Cfg Configuration.AddAssembly em C# (CSharp) - 55 exemplos encontrados. Esses são os exemplos do mundo real mais bem avaliados de NHibernate.Cfg.Configuration.AddAssembly em C# (CSharp) extraídos de projetos de código aberto. Você pode avaliar os exemplos para nos ajudar a melhorar a qualidade deles.