Re: DBML - DataContext - How to insert?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Matthias S." <matthias.st_SP_AM_TR_AP_@xxxxxxxxxxxxxx> wrote in message
news:xn0fp8pir4wnmk000@xxxxxxxxxxxxxxxxxxxxx

MyDataContext db = new MyDataContext();
db.ServiceLog.Add(new ServiceLog() {...});


db.ServiceLog.InsertOnSubmit(...) and db.SubmitChanges();

- Michael Starberg


.