When I try running your sample code for all.aspx A Build errors occur.
Error 1 The element 'buildProviders' cannot be defined below the application level. C:\BegASPNET\Source\Chapter 14\Chapter 14\web.config 21
Warning 2 Namespace or type specified in the Imports 'PlanetWroxModel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. C:\BegASPNET\Source\Chapter 14\Reviews\All.aspx.
vb 1 9 C:\...\Chapter 14\
Error 3 Type 'PlanetWroxEntities' is not defined. C:\BegASPNET\Source\Chapter 14\Reviews\All.aspx.
vb 7 29 C:\...\Chapter 14\
How do I correct this error.