update
This commit is contained in:
@@ -32,7 +32,7 @@ public class TransactionsConfiguration : IEntityTypeConfiguration<Transactions>
|
||||
builder.Property(entity => entity.RefId).IsRequired(false);
|
||||
builder
|
||||
.HasOne(entity => entity.Order)
|
||||
.WithMany(entity => entity.OrderTransactionss)
|
||||
.WithMany(entity => entity.Transactionss)
|
||||
.HasForeignKey(entity => entity.OrderId)
|
||||
.IsRequired(false);
|
||||
builder.Property(entity => entity.Type).IsRequired(true);
|
||||
|
||||
Reference in New Issue
Block a user