使用没有实体框架MVC的ASP成员资格 [英] Using ASP Membership without Entity Framework MVC

查看:73
本文介绍了使用没有实体框架MVC的ASP成员资格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿我有一个我正在研究的MVC项目,我想使用sql server数据库来存储所有ASP.NET的成员资格细节。我在网上看到大量关于如何做到这一点的例子,但所有这些例子似乎都是使用我不想做的EntityFramework。我有sql数据库和表创建,所以只需要知道如何启动和运行或在线有任何好的例子。



提前感谢... ..

Hey I have an MVC project that I am working on and I want to use a sql server database to store all the ASP.NET's membership details. I see loads of examples online on how to do this but all of them seem to be with using EntityFramework which I do not want to do. I have the sql database and tables created so just need to know how to get it up and running or are there any good examples online.

Thanks in advance.....

推荐答案

会员资格不使用MVC或EF,它是一项单独的技术。如果您正在实现自己的提供程序,那么从示例中获得的重要一点是如何实现提供程序本身,只使用您自己的数据库代码来访问表,没有任何强制您使用EF。
Membership doesn't use MVC or EF, it is a separate technology. If you are implementing your own provider then the important thing to gain from the examples is how you implement the provider itself, just use your own database code to access the tables, there is nothing forcing you to use EF.


这篇关于使用没有实体框架MVC的ASP成员资格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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