var cfg = new Configuration();
cfg.Configure();
cfg.AddAssembly(typeof(<ClassName>).Assembly);
new SchemaExport(cfg).Execute(false, true, false, false);
The above piece of code is supposed to create a database Table with name <ClassName>
.
But it is not creating.