And with Windsor configuration, and the NH facility. My config class
is something like:

public class FluentNHibernateConfigurationBuilder :
IConfigurationBuilder
{
        public Configuration GetConfiguration(IConfiguration
facilityConfiguration)
        {
                var configuration = new DefaultConfigurationBuilder
().GetConfiguration(facilityConfiguration);
                configuration.AddAutoMappings(
                        AutoPersistenceModel
                                
.MapEntitiesFromAssemblyOf<FluentNHibernateConfigurationBuilder>()
                                .Where(t => t.Namespace == 
"Infrastructure.Core.Entities")
        }
}

On Jun 8, 10:21 pm, Colin Ramsay <i...@colinramsay.co.uk> wrote:
> I'm using the AutoMappings stuff.
>
> On Jun 8, 10:19 pm, James Gregory <jagregory....@gmail.com> wrote:
>
> > Are your mappings public?
>
> > On Mon, Jun 8, 2009 at 10:17 PM, Colin Ramsay <i...@colinramsay.co.uk>wrote:
>
> > > Does anyone know why I might get "No persister for <entity name>" when
> > > using Fluent NH? My app was working perfectly until my machine got
> > > wiped out and I had to re-checkout from SVN, and I now see this error.
> > > I'm guessing my previous copy wasn't completely synced to SVN, but I
> > > just can't establish what the issue is. Any thoughts would be
> > > appreciated.
>
> > > Thanks,
> > > Colin.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to