0

How can I export an entire database, with all its tables and data, into a importable file using Fluent NHibernate (or any other preferrable tool)?

Edit: To clarify; the exporting should be made programmatically.

2 Answers 2

1

I would think this is a job for you and your particular DBMS. This isn't really an area that NHibernate is intended for as far as I know. If you need to do it programatically, then I would think scripting would be the way to go. What DBMS are you using?

Update:

In that case, look at tsql scripts such as this one, or maintenance plans.

Sign up to request clarification or add additional context in comments.

Comments

0

Although I haven't tried this, it should/could work. There are numerous articles on the web about exporting a Gridview to Excel. Create and bind the Gridview to your NHibernate objects in the code-behind file. As I said there are loads of articles/examples on the web on how to export from the Gridview.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.