Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
ePub | Page Example 6-3 |
Not sure if I already submitted this. |
Mike McCarthy | Feb 17, 2014 |
Printed | Page 99 2nd paragraph |
This relates to the sample code at the top of page 98. The discussion of the code?s behavior explains why lazy loading was disabled for this example (so we could see that a record with two addresses is listed once with only one address and again with both addresses). |
Anonymous | Aug 26, 2011 |
Page 114 Example 5-3 |
The foreach loop for addresses in the example 5-3 uses the .Addresses collection for the current contact (contact.Addresses). I would have thought that c[1] would somehow be involved as we are trying to see projections in Entity SQL. I can remove c.Addresses from the query text at the top and it still works, showing that the second property is not being used by the example code. Or am I missing something? |
MartinC | Dec 26, 2011 | |
Printed | Page 181 Figure 8-8 |
Figure 8-8 contains 13 entities whereas my BAModel contains 16. The entities in my model which do not appear in the figure are OldReservation, CustomersinPastYear and vPaymentsforPeriod. |
Anonymous | Sep 06, 2011 |
Printed | Page 275 Last paragraph |
The sentence "In C#, you need to wire up the event handler in the OnContextCreated method..." is confusing. The programmer needs to create a OnContextCreated as done in the Entities.cs. The phrasing "wire up ... in" implies there is something to be done in an existing method. |
Jim Roberts | Aug 23, 2011 |
Printed | Page 290 1st example |
Example 11-21 shows the signature of the CreateContact method incorrectly (the last parameter is missing): |
Leroy Casterline | Sep 28, 2011 |
Printed | Page 294 Example 11-23 |
Example 11-23 is erroneously titled ?Overriding the Create factory method.? This is the title from example 11-22 which really does override that method. |
casterle | Sep 29, 2011 |
Printed | Page 294 Example 11-24 |
Example 11-24 is erroneously titled ?Overriding the Create factory method.? This is the title from example 11-22 which really does override that method. |
casterle | Sep 29, 2011 |
Printed | Page 337 Example 13-1 |
The Contact class provided in the database has the RowVersion field. The example code int the book needed the property |
JIm Roberts | Aug 27, 2011 |
Printed | Page 369 Bottom half of the page |
The Entity SQL examples on the page refer to BAModel.Customer, which generates an exception ?Type 'BAModel.Customer' could not be found?. |
Leroy Casterline | Oct 07, 2011 |
Printed, PDF | Page 422 Stored Procedure |
The stored procedure printed on the page as well as the stored procedure in the downloadable sample database are wrong and prevent Example 16-2 from executing. The errors printed on page 422 differ from the errors in the database. The error in the PDF file is on page 424. |
Leroy Casterline | Oct 13, 2011 |
Printed, PDF | Page 425 Example 16-3 |
In example 16-3, MyClass includes an int? Age. This variable should be defined as Decimal? to avoid an exception when the query is run. |
Leory Casterline | Oct 14, 2011 |
792 example 27-3 |
For the sake of continuity and to avoid confusion, the same string should be used as the index value to ViewState[ ] in both lines of the example, i.e., use either "myKey" or "custKey" in both lines of the example. |
Anonymous | Sep 29, 2011 |