public static AutoPersistenceModel CreateMappings() { var cfg = new DbMapConfiguration(); return(AutoMap.Assemblies(cfg, AppDomain.CurrentDomain.GetAssemblies()) .Conventions.Add(DefaultLazy.Never())); //.Where(t => t.Namespace == "CQRS2012"); }
public static AutoPersistenceModel CreateMappings() { var cfg = new DbMapConfiguration(); return AutoMap.Assemblies(cfg, AppDomain.CurrentDomain.GetAssemblies()) .Conventions.Add(DefaultLazy.Never()); //.Where(t => t.Namespace == "CQRS2012"); }