3.5 sp1 and LLBLGenPro 2.6.
Ah, I was looking at this:
To start with SqlServerCE, first create the project on a normal SqlServer 7/2000/2005 database, then generate code using that project and by selecting CF.NET 1.0, CF.NET 2.0 or CF.NET 3.5 in the platform combo box.
That's from the section "Compact Framework / Sql CE support" in the preface. But that's just explaining if I really do want to target CF + CE, I should be in "Generated code - Database specific features". OK, thanks.
But I did notice this in the generated file DatabaseAdapter.cs, and this helped throw me off, because it looks like CF has to be targeted to make LLBLGenPro use CE.
#if CF
using System.Data.SqlServerCe;
#else
using System.Data.SqlClient;
#endif
Am I still missing something? How does my DAL know that CE is the target if CF is not #defined?