Is it possible to create a database using NHibernate?

后端 未结 6 1403
一向
一向 2020-12-08 08:56

I am using NHibernate with FluentNHibernate for my DAL. I am also using SchemaExport and SchemaUpdate to create and update my database schema.

6条回答
  •  误落风尘
    2020-12-08 09:00

    We use SchemaExport to provide a schema and a Nant task to drop and recreate the database. Another Nant task runs the schema export and dataloading code which exists in the form of an integration test run by the nunit task. There is a sample here.

提交回复
热议问题