Topic: ASP.NET

Migrating to LINQ to SQL in TheBeerHouse and ASP.NET 2.0 Website Programming Problem Design Solution (0470375019) cover image

Migrating to LINQ to SQL in TheBeerHouse and ASP.NET 2.0 Website Programming Problem Design Solution

Doug Parsons
ISBN: 978-0-470-37501-3
Wrox Blox PDF
38 pages
March 2008
Electronic Version: US $6.99 Purchase This Download

About This Title  |  Download Code  |  Errata

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
17 Error in Code
code example before Scalar Functions heading:

return new Article(record.ID, record.AddedDate, record.AddedBy,
record.CategoryID, record.tbh_Category.Title,
record.Title, record.Abstract, record.Body,
record.Country, record.State, record.City,
(DateTime)record.ReleaseDate,
(DateTime)record.ExpireDate, record.Approved,


should be:

return new Article(record.ArticleID, record.AddedDate, record.AddedBy,
record.CategoryID, record.tbh_Category.Title,
record.Title, record.Abstract, record.Body,
record.Country, record.State, record.City,
(DateTime)record.ReleaseDate,
(DateTime)record.ExpireDate, record.Approved,
04/23/2008