Microsoft LINQ Books

Programming Microsoft LINQ & Introducing Microsoft LINQ
Welcome to Microsoft LINQ Books Sign in | Join | Help

Table<T> Add and and Remove methods?

  •  01-25-2008, 2.14

    Table<T> Add and and Remove methods?

    The bottom of p. 152 has these lines:

     db.Customers.Add(newCustomer);

     db.Customers.Remove(oldCustomer);

    But Customers is an object of type Table<T> and that class does not have Add or Remove methods.  What is the correct code that illustrates the point being made?

    Filed under:
View Complete Thread
Powered by Community Server (Personal Edition), by Telligent Systems