private Interaction FindOrCreateInteraction(CustomerDataContext ctx, int ID) { var query = ctx.Interactions.Where(n => n.Id = ID); if (query.Any()) { return(query.Single()); } else { var inter = new Interaction(); ctx.InsertOnSubmit(inter); return(inter); } }