records.add(... select new record() {...})
Options
Hi group, how do I add and commit that db record:
records.AddRange(
from a in records
where a.Id == 5
select new record()
{ Id = 6, Name = a.Name})
Can I commit in Expression Window somehow?
I couldn't find a commit button or so
In SQL Tab there was the SELECT... only without INSERT
(to paste into DBTool with Commit Button)
May be it will have INSERT when right...
Comments
-
...Seems to work in Statement-Window
and gets commited with SaveChanges();