Special commit for a special Lars-Erik

This commit is contained in:
Morten Christensen
2013-11-07 11:48:25 +01:00
parent 6b006e6fd7
commit f91ff5dc31

View File

@@ -6,6 +6,7 @@ using System.Xml;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.EntityBase;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.Caching;
using umbraco.cms.businesslogic.web;
using umbraco.DataLayer;
@@ -342,10 +343,16 @@ namespace umbraco.cms.businesslogic
/// Gets the SQL helper.
/// </summary>
/// <value>The SQL helper.</value>
[Obsolete("Obsolete, For querying the database use the new UmbracoDatabase object ApplicationContext.Current.DatabaseContext.Database", false)]
protected static ISqlHelper SqlHelper
{
get { return Application.SqlHelper; }
}
internal static UmbracoDatabase Database
{
get { return ApplicationContext.Current.DatabaseContext.Database; }
}
#endregion
#region Constructors