score:1

I'm not sure what you're getting at, this is supported in LINQ to SQL.

score:0

Updates, insertions and deletions are generally a much easier problem than doing queries (essentially a find operation).

If you are referring to generic collections rather than databases, you make a method call like Insert or Add to add an item, and Delete or Remove to remove an item. To change an item, generally you just manipulate the item directly.

score:2

Linq targets two interfaces, IEnumerable<T> and IQueryable<T>.

Think about how a delete operation would be performed against an IEnumerable<T>.

How do you delete things from Enumerable.Range(0, 5) ?


Related Articles