开发者

How to add hard-coded values to an entity

I created an entity called Food in edmx file. Now I just need to populate it with hard-code开发者_如何学Pythond items: Pasta, Beef, Pork

How do I do that?


Is this entity mapped to a table in your database?

If so (and I'd hope it is), insert the data directly into the database table using a SQL script or edit the table in data sheet view through a data connection in Visual Studio.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜