Is there any way to use ASP.NET Dynamic Data WebApp or Scaffold using a NoSQL DB (CouchDB)
I have a Class library of Objects – marked as a ContextModel.
I think i have to generate an EDMX file from my object Model – but I’m not sure how.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think what you want is to create a custom scaffolding. Steven Sanderson has a great series on MvcScaffolding and one of the articles is devoted to this topic. So you would do something like
if you want to set this as the default repository:
You wouldn’t need to generate an EDMX, as you don’t need EntityFramework.
Just be sure to use the “-Repository” switch when you scaffold the controllers. See this article