哪种方法最适合操纵MVC项目的数据? [英] which approaches is best to manipulate data for MVC project?

查看:89
本文介绍了哪种方法最适合操纵MVC项目的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将使用EnityFramework创建MVC基础项目。



但Enity Framework有三种方法,我们知道,



1)基于模式的方法

2)基于模型的方法

3)代码优先方法。



哪种方法最适合操纵MVC项目的数据?

I am going to create MVC base project with EnityFramework.

But Enity Framework has three approaches as we know as,

1)Schema based approach
2)Model based approach
3)Code first approach.

which approaches is best to manipulate data for MVC project?

推荐答案

你好,



希望,第二种方法最好是操纵MVC项目的数据。

即基于模型的方法是最好的。
Hello,

hopefully, second approach is best to manipulate data for MVC project.
i.e. Model based approach is best.


这篇关于哪种方法最适合操纵MVC项目的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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