diff --git a/src/umbraco.datalayer/Properties/AssemblyInfo.cs b/src/umbraco.datalayer/Properties/AssemblyInfo.cs index 7f5caaee39..2062f36415 100644 --- a/src/umbraco.datalayer/Properties/AssemblyInfo.cs +++ b/src/umbraco.datalayer/Properties/AssemblyInfo.cs @@ -25,3 +25,5 @@ using System.Runtime.InteropServices; // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("6210756f-436d-4536-bad3-d7b000e1694f")] + +[assembly: InternalsVisibleTo("SqlCE4Umbraco")] \ No newline at end of file diff --git a/src/umbraco.datalayer/SqlHelper.cs b/src/umbraco.datalayer/SqlHelper.cs index db5514b34c..b39c38e0b7 100644 --- a/src/umbraco.datalayer/SqlHelper.cs +++ b/src/umbraco.datalayer/SqlHelper.cs @@ -235,6 +235,11 @@ namespace umbraco.DataLayer } } + internal int ExecuteNonQuery(string commandText) + { + return ExecuteNonQuery(commandText, new P[0]); + } + /// /// Executes a command and returns a records reader containing the results. /// @@ -259,6 +264,11 @@ namespace umbraco.DataLayer } } + internal IRecordsReader ExecuteReader(string commandText) + { + return ExecuteReader(commandText, new P[0]); + } + /// /// Executes a command that returns an XML value. ///