AspNetUsers (Identity) 与自定义数据库中其他表之间的多对多关系

Many to many relationship between AspNetUsers (Identity) and other tables in a custom database

我开始学习 ASP.NET 并且我遵循了 this 教程。因此,我得到了一个简单的应用程序,它使用 ASP.NET 身份会员系统,并有一个包含产品和购物车项目的附加数据库。

有没有办法在用户和产品数据之间创建多对多关系,考虑到它们属于(我猜)两个不同的数据库? 我还想保存添加新项目的用户,所以我需要多对一关系或外键。我发现了一堆针对 MVC 的教程,但是 none 针对 Web 窗体的教程,由于我是初学者,所以我没能弄清楚如何实现它来满足我的需要。

它存储添加到购物车的每个项目,但没有关于添加它的用户的信息,因此每个购物车项目都会显示给每个登录的用户。

你确定吗?引自以下教程:

If the user is signed in as a registered user, the cart ID is set to their user name. However, if the user is not signed in, the cart ID is set to a unique value (a GUID). A GUID ensures that only one cart is created for each user, based on session.