79211446

Date: 2024-11-21 13:53:00
Score: 3
Natty:
Report link

What prevents you from doing the following?

var options = await dbContext.Options.ToListAsync();

//Machine to seed:
Machine machine = new(){ description="MyTestMachine" }
OptionMachine opt = new(){ Machine = machine, Option = options[0], price = 500M };
machine.Options.Add(opt)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Sancho Panza