C#MVC实体框架模型。 [英] C# MVC entity framework model.

查看:116
本文介绍了C#MVC实体框架模型。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我对标准的微软教程非常热心:



http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for -an-asp-net-mvc-application [ ^ ]



本教程没有模型。你们有没有很好的教程有用且包含ADO.NET数据模型?



欢呼(Y),



Wessel

Hi there,

I was bussy with the standard microsoft tutorial:

http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application[^]

This tutorial is without model. Do you guys have any nice tutorials witch are usefull and contains the ADO.NET data model?

cheers (Y),

Wessel

推荐答案

你怎么说没有模特? SchoolContext包含3个学生,入学和课程模型。这只是一个简单的例子,但它确实包含一些使用EF的简单模型持久性。



祝你好运!
How do you mean without model? SchoolContext contains 3 models for Student, Enrollment and Course. It is just a simple example but it does contain some simple model persistence using EF.

Good luck!


希望这会对你有所帮助。



< a href =http://www.codeproject.com/Articles/575397/An-Absolute-Beginners-Tutorial-on-ASP-NET-MVC-for>关于ASP.NET的绝对初学者教程Web窗体开发人员的MVC< / a> [< a href =http://www.codeproject.com/Articles/575397/An-Absolute-Beginners-Tutorial-on-ASP-NET-MVC-fortarget = _blanktitle =新窗口> ^< / a>]
Hope this will help you.

<a href="http://www.codeproject.com/Articles/575397/An-Absolute-Beginners-Tutorial-on-ASP-NET-MVC-for">An Absolute Beginner's Tutorial on ASP.NET MVC for Web Forms Developers</a>[<a href="http://www.codeproject.com/Articles/575397/An-Absolute-Beginners-Tutorial-on-ASP-NET-MVC-for" target="_blank" title="New Window">^</a>]


这篇关于C#MVC实体框架模型。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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