update
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ public class UserCartsConfiguration : IEntityTypeConfiguration<UserCarts>
|
||||
builder.Property(entity => entity.Id).UseIdentityColumn();
|
||||
builder
|
||||
.HasOne(entity => entity.Product)
|
||||
.WithMany(entity => entity.ProductUserCartss)
|
||||
.WithMany(entity => entity.UserCartss)
|
||||
.HasForeignKey(entity => entity.ProductId)
|
||||
.IsRequired(true);
|
||||
builder
|
||||
|
||||
Reference in New Issue
Block a user