Sql – Does SubSonic 3.0 SimpleRepository support SQL Server Compact Edition

sql-server-cesubsonicsubsonic3

Can someone confirm one way or the other if SubSonic 3.0's SimpleRepository supports SQL Server CE (Compact Edition)? I tried it and failed but I'm not sure if I'm doing something wrong or if it's not supposed to work.

I'm finding conflicting information online. The SubSonic documentation page says that SQL Server CE is supported in SubSonic 3.0. However this (fairly recent) Stack Overflow question says that it isn't supported

So which is it? If it is supposed to work, does anyone happen to have a pointer to some working code so I can figure out what I'm doing wrong? Thanks!

Best Answer

We use System.Data.Common and from what I understand SQLCE understands System.Data.Common - you just have to be sure you specify that driver in your connection string (and I don't know what that is).

We don't have any T4's built for it yet, but for SimpleQuery it should "just work". What's the error?

Related Topic