none
no RemoveAll() method in entity classes RRS feed

  • Question

  • Hi,

    I've added LinqToSql component to my project. Everything works fine, but I can see no RemoveAll method on my entity class.

    In sql server 2005 database I have a table called "Devices" and so I havve it like

    MyDatabaseDataContext dc = new MyDatabaseDataContext();
    dc.Devices. //here I have no prompt for RemoveAll

    Why do I don't have it? I've read ScottGu's article  where he removes data this way.
    How can I make it working? Or how can I delete those objects other way?
    Saturday, March 15, 2008 5:15 PM

Answers