1

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

ActionFactory
  • 1,393
  • 2
  • 12
  • 19

1 Answers1

3

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

> scaffold CustomScaffolder CouchRepository

if you want to set this as the default repository:

> Set-DefaultScaffolder Repository CouchRepository

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

What Would Be Cool
  • 6,204
  • 5
  • 45
  • 42