我正在阅读一篇关于 Entity Framework 4.0 的文章,其中陈述了以下内容:
"The model's context menu has an option to 'Generate Database Script from
Model'. When you select this option you'll find that you do need to point
to an existing database. The script won't create the database itself,
just the schema, which means that you'll need to create the database yourself
in advance."
如果 EF 4.0 设计器生成 SQL 来破坏现有数据库,为什么首先需要现有数据库?
谢谢,
斯科特