As with many things once you figure it out it's pretty simple this works. Note that steps are meritbadges, tasks are smeritbadges and lot is a scout.
int lotkey = lot.LotID;
using (var thisdb = new HouseContext())
{
foreach (var mystep in thisdb.Steps)
{
Task Task = new Task();
Task.LotID = lotkey;
Task.BuilderID = mystep.BuilderID;
Task.StepName = mystep.StepName;
Task.Stepseq = mystep.Stepseq;
Task.Draw = mystep.Draw;
Task.Inactive = false;
thisdb.Tasks.Add(Task);
}
try
{
thisdb.SaveChanges();
I hope this helps someone else.