I m目前正在调查ASP。 NET MVC 2 and LINQ tokou. 这完全是冷却。 但我有一些应用和发展生命周期问题。
Currently, I design the DB in SqlServer Management Studio. Then I update my DBML files by deleting and re-importing modified tables.
问题:
- I can t find how to simply update the whole DBML schema.
- My DBML then loses some of the changes I made such as renaming relation members or mapping of some int to an enum.
- If I want a SQL script to deploy my DB (or to keep the schema under source control), I need to go use the Genererate Script SSMS wizard which would be cool if a) it could remember my settings and b) it could be automated.
我是否应该以其他方式工作(从我的DBML开始,产生行文)? 我是否应该谈谈其他一些框架(NHibernate?)? 我能否使用一些Linq的弹)?
此外,我读到,LINQ2SQL已经过时,有利于Linq的实体。 这是否意味着,使我的生活更加美好的最终工具将再次使我长期失去时间?
感谢 light光。