Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 ADO.NET 实体数据模型添加到我的项目中,但不能在类或Default.aspx.vb.
Default.aspx.vb
解决了 我Code Generation Strategy从更改None为Default然后构建项目的问题。现在我可以使用 Dim db As New MyDataBaseModel.MyDataBaseEntities
Code Generation Strategy
None
Default
Dim db As New MyDataBaseModel.MyDataBaseEntities