Replace sql server with RavenDB

723 Views Asked by At

I have a silverlight application that communicates with the sql server database. The server side is a WCF RIA webservices that use EF 4 for persisting data back to db.

I am considering switching to RavenDB for two reasons

  1. Scalability
  2. Freedom from updating schema on production server.

My questions

  1. How easy it is to switch to RavenDB. Is it as easy as pointing the connection toRavenDB.

  2. Will it create a schema automatically by inspecting the entities.

  3. can i continue to use linq in wcf. Or do i need to replace code in it?

Thanks, Ankur

1

There are 1 best solutions below

0
On BEST ANSWER
  1. No. It will most likely require a model change since a model suited from RavenDB is usually very different from a relational model you're likely to be using now.

  2. There is no schema with RavenDB.

  3. Yes, but you'll probably need to rewrite the queries to match the new document-oriented model that you'll come up with for using RavenDB.