No persister for: <ClassName> issue with Fluent NHibernate
- by Amit
I have following code:
//AutoMapConfig.cs
using System;
using FluentNHibernate.Automapping;
namespace SimpleFNH.AutoMap
{
public class AutoMapConfig : DefaultAutomappingConfiguration
{
public override bool ShouldMap(Type type)
{
return type.Namespace == "Examples.FirstAutomappedProject.Entities";
}
…