我怎么能把会员数据库,以我自己的数据库与EF code先飞? [英] How can I attach membership database to my own database on the fly with EF code first?

查看:166
本文介绍了我怎么能把会员数据库,以我自己的数据库与EF code先飞?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能帮我解决这个问题,请:

Can anyone help me out to solve this issue please :

嗯,我用ASP.NET MVC 4.5,实体框架code首先近期建设一个CMS,所以我的整个数据库中获取动态创建的,现在的问题是,我需要使用内置的没有与两个数据库一个​​用于用户和角色管理人员,一个用于CMS管理,从而结束了asp.net会员数据库如何解决这个问题,任何想法?

Well I'm recently building a CMS using ASP.NET MVC 4.5 ,with Entity Framework Code First , so my whole database get created on the fly , now the problem is that I need to use the built-in asp.net membership database without ending up with two databases one for the users and roles managements and one for the CMS management , so how can I solve this issue , any idea ?

推荐答案

请按照下面的链接,让我知道,如果您有任何其他问题。

Follow the link below, let me know if you have any other questions.

<一个href=\"http://blog.spontaneouspublicity.com/including-asp-net-simple-membership-tables-as-part-of-your-entity-framework-model\"相对=nofollow>包括Asp.net简单的会员表为部分你的实体框架模型

这篇关于我怎么能把会员数据库,以我自己的数据库与EF code先飞?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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