员工和ID MVC 3的简单记录 [英] a simple record of employee and id MVC 3

查看:68
本文介绍了员工和ID MVC 3的简单记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用其id- ASP.Net MVC3

解决方案

在员工身上记录员工在Internet上有很多关于ASP.NET的教程和视频.发展.

ASP.NET-MVC [ ^ ]

因此,我建议您观看所有看似相关的视频.如果需要,在学习资源"的顶部还有其他教程"和其他视频".

观看相关视频后,您可以做适当的教程,或者在亲自尝试时更仔细地听这些视频.

最后,如果您有更具体的问题,请使用Google.通常,在Web上找到ASP.NET开发的答案相对容易.如果仍然无法解决问题,那么您可以在此处提出更具体的问题.

在MVC中完成数据库工作并不难...就我而言,我使用的是Linq-To-SQL,但是如果您选择使用Entity Framework,它应该非常相似.

如果每个员工都已经有一个唯一的ID,那么这很简单.您只需为列选择适当的数据类型,然后将该列设置为表的主键(并且不要使用自动递增,因为您提供了ID).


How to make a record of employee with his id- ASP.Net MVC3

解决方案

There are a lot of tutorials and videos on the Internet for ASP.NET development.

ASP.NET - MVC[^]

So I suggest you to view any video that seems pertinent. And there is also "Additional Tutorials" and "Additional Videos" at the top of "Learning Resources" if you need.

Once you have viewed pertinents videos, then you might do appropriate tutorials, or listen the videos more carefully while trying it for yourself.

Finally, if you have a more specific question, then use Google. Generally, it is relatively easy to find answers for ASP.NET development on the web. If that still does not works, then you can ask a more specific question here.

It is not hard to do database stuff in MVC... In my case, I was using Linq-To-SQL but it should be very similar if you select to uses Entity Framework instead.

If every employee already have an unique ID, then it is very simple to do. You just have to select the appropriate data type for your column and set that column as the primary key for the table (and don''t use auto-increment since you provide the ID).


这篇关于员工和ID MVC 3的简单记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆