foreach (var Cust in Customers)
{
using (Contex C)
{
c.customers.add(Cust);
c.savechanges();
}
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit GuptaRank #190 · 12.8K reputationPosted Jun 16, 2019, 6:53 AM EDT
Abdelrhman Abdo25 reputationPosted Jun 16, 2019, 7:36 AM EDT
Veerendra AnnigereRank #927 · 2.2K reputationPosted Jun 16, 2019, 5:58 PM EDT