问题是,有一个通知系统,它基本上是Notification和User模型之间的许多关系,这些通知与系统的其他部分一起保存在Server中,但也在Cache Redis中,以便更快地读取,并且需要序列化以便在其上进行写入我们移除User模型,然后在Notification模型中添加ICollection of ApplicationUser,反之亦然--使两者之间有关联。Microsoft.AspNet.Identity.EntityFramework.IdentityUser‘程序集'Microsoft.AspNet.Identity.Entity