Changing schema name on runtime - Entity Framework

前端 未结 6 640
梦谈多话
梦谈多话 2020-12-01 04:12

I need to change the storage schema of the entities on runtime. I\'ve followed a wonderful post, available here: http://blogs.microsoft.co.il/blogs/idof/archive/2008/08/22/c

6条回答
  •  萌比男神i
    2020-12-01 04:28

    I've managed to resolve this issue by using a brilliant library, located in CodePlex (courtesy of Brandon Haynes), named "Entity Framework Runtime Model Adapter", available here: http://efmodeladapter.codeplex.com/

    I've tweaked it a bit, to fit our needs and without the need of replacing the designer code at all.

    So, I'm good.

    Thanks anyways, and especially to Brandon, amazing job!

提交回复
热议问题