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