If you're embedding mapping files into your assembly, you need to add your assembly to the configuration:
Code:Configuration config = new Configuration(); Configuration currentconfiguration = config.AddAssembly(this.GetType().Assembly); ISessionFactory factory = currentconfiguration.BuildSessionFactory();


Reply With Quote
