IT:AD:LinqPad:HowTo:Insert Or Update Data
Summary
Most uses of LinqPad is to Query/Select records.
But it can be used to update records as well.
You just need to know about the InsertOnSubmit
extension method and globally available 'SubmitChanges` method.
Process
void Main() { XActLib_MessageTag x = new XActLib_MessageTag(){Id=Guid.NewGuid(), Enabled=true,Order=0,Name="Foo"}; XActLib_MessageTags.InsertOnSubmit(x); SubmitChanges(); XActLib_MessageTags.Dump(); }