Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating Schema Using nHibernate

Tags:

nhibernate

Can Any Body Please Tell Me How We Are Create Schema Using nHibernate.Or Is It Possible Create Any Table Using nHibernate??

Thanks In Advance..

like image 703
andy Avatar asked Jul 26 '26 03:07

andy


2 Answers

Yes it's possible. Search for "SchemaExport". Details here from nhibernate.info

like image 68
Nick Ryan Avatar answered Jul 30 '26 00:07

Nick Ryan


It is possible but there is a very limited use for this feature (initial rollout and integration tests). See this answer.

new SchemaExport(_configuration).Execute(false, true, false);
like image 45
Dmitry Avatar answered Jul 29 '26 23:07

Dmitry



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!