Microsoft LINQ Books

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

Table<T> Add and and Remove methods?

Last post 01-25-2008, 2:14 by Rickee. 0 replies.
Sort Posts: Previous Next
  •  01-25-2008, 2:14 95

    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 as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems