【发布时间】:2016-01-23 22:03:11
【问题描述】:
我要求为 VB 而不是 C# 提供解决方案。因此,我的问题开始处的“VB”标签。
尝试为我的模型创建控制器,但是,我不断收到“entitytype has no key defined. define the key for this entitytype”。我正在使用 VB MVC5。
【问题讨论】:
-
不,如果您花时间实际阅读该问题,您会发现它适用于 VB 而不是 C#。
标签: asp.net-mvc vb.net model-view-controller