扩展asp.net中的成员资格表? [英] Extending membership tables in asp.net ?

查看:68
本文介绍了扩展asp.net中的成员资格表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我添加了一个名为user info的表,该表包含我的应用程序所需的数据,但未在成员资格表中建立.因此在此表中,我有一个唯一的标识符字段user_id,我需要将此字段与成员资格表相关联.我应该把它联系起来吗?到用户表或会员表?

在此先感谢您.

解决方案

您要在其中存储用户信息的存储区,我建议您将其存储在成员资格表中


看看这个:

实施成员资格提供程序 [ 解决方案

The one in which you are storing your user information,i suggest you to store in membership table


Have a look at this:

Implementing a Membership Provider[^]

Hope it helps.


Another option with you is that you can create a new table with the user_id as foreign key to it. The advantage of using a seprate table will be that you can add as many features as you want without affecting the current mebership tables.All you have to do is to make snall changes in procedures where value gets insert in these membership tables


这篇关于扩展asp.net中的成员资格表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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