SQL Server Compact Code Snippet of the Week #17 : using wildcards with a...
This “week”’s code snippet simply demonstrates how to use a parameterized query with LIKE and a search string containing wildcards. The simple solution is basically to add the wildcard character (% or...
View ArticleSQL Server Compact Toolbox 3.4–Visual Guide of new features
After nearly 190.000 downloads, version 3.4 of my free, open source SQL Server Compact Toolbox extension for Visual Studio 2013, 2012 and 2010 is now available for download. This blog post is a visual...
View ArticleSQL Server Compact Code Snippet of the Week #18 : handling SqlCeExceptions
Often I see developers complain that the error messages from SQL Server Compact does not provide any information about the error (in SqlCeEcxeption.Message). This is due to to way that the...
View ArticleFAQ: Why is opening my SQL Server Compact database slow?
You may experience, that opening a connection to a SQL Server Compact database file using SqlCeConnection.Open() (or doing this via EntityFramework or LINQ to SQL) can be unexpectedly slow (up to 30...
View ArticlePrimeworks, supplier of tools for SQL Server Compact, is closing, making all...
João Paulo Figueira, owner of Primeworks, http://primeworks-mobile.com/, just announced that the company is closing. In a blog posting João announced yesterday: “The business volume has decreased so...
View ArticleSQL Server Compact Code Snippet #19 : migrate a SQL Server database to SQL...
This snippet again demonstrates my SQL Server Compact scripting API, some initial guidance here. For a blog post describing the opposite direction, see this. Notice, that is you are scripting a SQL...
View ArticleSQL Server Compact Code Snippet #20 : change database password
The SqlCeEngine class (in the System.Data.SqlServerCe ADO.NET provider) includes a number of useful methods for handling global database chores, like verifying the integrity of the database, and shrink...
View ArticleSQL Server Compact 4 desktop app with simple Private Deployment and LINQ to SQL
In this post I will describe a simplified approach to SQL Server Compact Private Deployment, for an overview blog post on Private Deployment with SQL Server Compact, see my blog post here. By forcing...
View ArticleSQL Server Compact Toolbox 3.6–Visual Guide of new features
After more than 210.000 downloads, version 3.6 (skipping version 3.5 to avoid confusion) of my SQL Server Compact Toolbox extension for Visual Studio 2013, 2012 and 2010 is now available for download....
View ArticleSQL Server Compact breaks when upgrading from Windows 8 to Windows 8.1
Symptoms1: The SQL Server Compact Toolbox now longer works after upgrading to Windows 8.12: Entity Framework based SQL Server Compact solutions no longer work after upgrading to Windows 8.1IssueWhen...
View ArticleEntity Framework 6 & SQL Server Compact 4 (1)–Workflows and tooling
In this new series, I will give an introduction to the new tooling and some of the new features in Entity Framework 6 (EF6). But lets begin with an overview of workflow and tooling option in the...
View ArticleEntity Framework 6 & SQL Server Compact 4 (2)–Easy Private Desktop Deployment
In this post I will describe a simplified approach to SQL Server Compact Private Desktop Deployment with Entity Framework 6, for an overview blog post on Private Deployment with SQL Server Compact, see...
View ArticleThe trouble with Any CPU–Prefer 32 bit–BadImageFormatException
In my previous 2 blog posts here and here, I have briefly mentioned the new default Target Platform for new .NET 4.5/4.5.1 projects in Visual Studio 2012/2013. To be perfectly honest, it was not...
View ArticleDocument your SQL Server database with free tools: SQL Server Compact Toolbox...
In this blog post I will highlight an overlooked feature in my SQL Server Compact Toolbox (Visual Studio add-in or standalone), the ability to create interactive relationship diagrams of SQL Server...
View ArticleSQL Server - using newsequentialid() as a function, similar to newid()
This blog post shows how you can use newsequentialid() as a function in scripts etc., not only as a column default value.In many scenarios, unique identifiers are used a clustered, primary keys in...
View ArticleSQL Server Compact Toolbox 3.7–Visual Guide of new features
After more than 235.000 downloads, version 3.7 of my SQL Server Compact Toolbox extension for Visual Studio 2013, 2012 and 2010 is now available for download (and available via Tools/Extensions in...
View ArticleEntity Framework 6 & SQL Server Compact (3)–Getting started with the SQL...
As you may know, SQL Server Compact version 4.0 does not have support for Merge Replication and Remote Data Access (you can still use RDA, however). This was a showstopper if you wanted to use the...
View ArticleEntity Framework 6 & SQL Server Compact 4.0 (4) - Restoring full EF Tools...
As described in my blog post here, Entity Framework Tools support for SQL Server Compact 4.0 in Visual Studio 2013 is broken, because SQL Server Compact is no longer supported by Server Explorer in VS...
View ArticleSQL Server Compact Toolbox 3.7.1–Visual Guide of new features
After 250.000 (!) downloads, version 3.7.1 of my SQL Server Compact Toolbox extension for Visual Studio 2013, 2012 and 2010 is now available for download (and available via Tools/Extensions in Visual...
View ArticleEntity Framework 6 (& SQL Server Compact) (5)–Entity Framework 6 extensions
This is a list of some of all the nice Entity Framework 6 extensions out there that expand the functionality of the Entity Framework 6 runtime. Code generator tools and Frameworks using Entity...
View Article