More database fixing (sqlCE)

This commit is contained in:
Stephan
2016-12-13 10:35:16 +01:00
parent 5936f72263
commit b9b7c9f965

View File

@@ -42,6 +42,8 @@ namespace Umbraco.Core.Persistence
{
var prof = con as StackExchange.Profiling.Data.ProfiledDbConnection;
if (prof != null) con = prof.InnerConnection;
var ceCon = con as System.Data.SqlServerCe.SqlCeConnection;
if (ceCon != null) return null; // "NotSupported: SqlCE";
var dbCon = con as DbConnection;
return dbCon == null
? "NotSupported: " + con.GetType()