Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-mvc/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net mvc MVC5应用程序中的UserProfile或ApplicationUser模型类在哪里_Asp.net Mvc_Entity Framework_Roles - Fatal编程技术网

Asp.net mvc MVC5应用程序中的UserProfile或ApplicationUser模型类在哪里

Asp.net mvc MVC5应用程序中的UserProfile或ApplicationUser模型类在哪里,asp.net-mvc,entity-framework,roles,Asp.net Mvc,Entity Framework,Roles,我很难在MVC5应用程序中找到UserProfile/ApplicationUser。我想添加此字段:publicvirtualicollectionmeetings{get;set;}到UserProfile/ApplicationUser类 我想利用克里斯·普拉特先生的建议: 编辑:如果我在代码优先方法中添加class Meeting字段public int applicationserid{get;set;},实体框架会理解会议和用户之间的关联吗 我只得到这个: 应用程序用户位于您的标识模

我很难在MVC5应用程序中找到
UserProfile/ApplicationUser
。我想添加此字段:
publicvirtualicollectionmeetings{get;set;}
UserProfile/ApplicationUser

我想利用克里斯·普拉特先生的建议:

编辑:如果我在代码优先方法中添加class Meeting字段public int applicationserid{get;set;},实体框架会理解会议和用户之间的关联吗

我只得到这个:


应用程序用户位于您的标识模型中。cs@Rook如果我在代码优先方法中添加
类会议
字段
public int applicationserid{get;set;}
,实体框架会理解
会议
和用户之间的关联吗?是的,这是可能的。