Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find overloaded Execute method for SchemaExport

Tags:

orm

nhibernate

i have a problem with my first app with NHibernate like 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 cant find Execute method for 4 parameters 3 only:

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

what am i missing here?

like image 211
Sasha Avatar asked Apr 27 '26 05:04

Sasha


1 Answers

That overload has been removed in v2.1.

like image 103
Krzysztof Kozmic Avatar answered Apr 30 '26 16:04

Krzysztof Kozmic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!