Cannot Find Overloaded Execute Method for SchemaExport

I have a problem with my first application with NHibernate as ORM

in this example: http://nhibernate.info/doc/tutorials/first-nh-app/your-first-nhibernate-based-application.html

they use this simple test:

public void Can_generate_schema()
        {
            var cfg = new Configuration();
            cfg.Configure();
            cfg.AddAssembly(typeof (Product).Assembly);

            new SchemaExport(cfg).Execute(false, true, false, false);
        }

but I can not find the Execute method for only 4 parameters 3:

new SchemaExport(cfg).Execute(false, true, false);

What am I missing here?

+3
source share
1 answer

This overload has been removed in version 2.1.

+4
source

Source: https://habr.com/ru/post/1713141/


All Articles