I'm not sure, the front page of the book isn't promissing...
The main gripe I have against 'buy this book to learn the real deal' is that apparently the docs fall short for even this small class. For a framework, no problem, but for a single class? I shouldn't have to revert to reverse engineering through reflector but I have to. What's strange is that there's just 1 tutorial: from nikhil, which isn't complete.
Nevertheless, I get some progress.. I have this:
All customers:<br />
<asp:GridView ID="theGrid" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
DataSourceID="llblgenDS" AllowPaging="true" PageIndex="0" PageSize="10" EnableViewState=true>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
<cc1:LLBLGenProDataSource2 ID="llblgenDS" runat="server"
EntityFactoryTypeName="Northwind.FactoryClasses.CustomersEntityFactory, Northwind"
AdapterTypeName="Northwind.DatabaseSpecific.DataAccessAdapter, NorthwindDBSpecific"
EnableViewState=true>
</cc1:LLBLGenProDataSource2>
and it works. Look ma, no code!
Anyway, the main issues are teh designer (always... I see a pattern here
) stuff and the things when to do what. For example I now can;t get the data fetched into the viewstate, no matter what I do... More trial/error I guess