ADO.NET

There are 2 entries for the tag ADO.NET

ADO.NET Entity Framework, SQLCE and identity columns

Recently I've doing some works using MS SQL Compact Edition and for data layer ADO.NET Entity Framework was chosen. Now MS only recently added support for SQLCE in the framework, so its kind of beta inside beta. Some features are not working properly or missing, as for example, support for identity columns. While SQLCE provides support for auto-generated columns, the framework doesn't yet have it. And of course all my IDs in tables are auto-generated integer values, e.g. identity. Of course the only option was to generate ID at client. But I didn't want to change everything to be GUID,...

LINQ to Entities and SQL Compact Edition

If you want to use LINQ to Entities (AKA ADO.NET Entity Framework) with your SQL CE database, download and install SQL CE SP1 Beta (see link below). Uninstall SQL Compact Edition 3.5 that you have right now, but leave Design Tools. And then install those 2 files downloaded from MS Downloads Center. Here is the link: http://www.microsoft.com/downloads/details.aspx?FamilyID=68539FAE-CF03-4C3B-AEDA-769CC205FE5F&displaylang=en Technorati Tags: LINQ, ADO.NET, .NET, SQLCE