LINQ in Action roller

Calling function in Select.

Hello everyone. I have something I need help on. Basically, I have functions called CreateCustomerProject, CreateCustomer, CreatePlant, etc, to convert a LINQ to SQL class to one of my Data Model classes I need these functions because there may be multiple select new CustomerProject{...} blocks and I do not want the same code for class mapping more than once. The code below always works: public IList GetAll() { return service.GetCustomerProjects().ToList(); } This throws an error: "System.NotSupportedException: Read More...
Published Sunday, July 27, 2008 9:31 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication