开发者

How to use LINQ to SQL after changes in database

Note:

I know there was disscussion about similar questions before, like in:

link text

but i have to know how to handle this scenario开发者_C百科:

Problem:

I wrote program that use LINQ to SQL and it will be send to client. Tables that my program uses may be changed ( let's say only added new columns). Is there any way to not update, recompile and send my program to client each time those changes occurs?


I don't think it's possible, because linq to sql classes map your database into objects, and when you change database, model classes do not reflect real database.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜