moves LegacySqlHelper to the only places that needs it now: umbraco.cms,marks as obsolete and internal since its temporary.

This commit is contained in:
Shannon
2016-03-17 10:41:21 +01:00
parent 4c9f4beaf9
commit a292defdb9
3 changed files with 5 additions and 15 deletions

View File

@@ -182,9 +182,6 @@
<Compile Include="..\SolutionInfo.cs">
<Link>Properties\SolutionInfo.cs</Link>
</Compile>
<Compile Include="LegacySqlHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>

View File

@@ -1,21 +1,13 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using AutoMapper;
using umbraco.DataLayer;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using umbraco.DataLayer;
namespace umbraco.BusinessLogic
namespace umbraco.cms.businesslogic
{
/// <summary>
/// Class for handling all registered applications in Umbraco.
/// </summary>
[Obsolete("Use ApplicationContext.Current.Services.SectionService and/or Umbraco.Core.Sections.SectionCollection instead")]
public class LegacySqlHelper
[Obsolete("Remove this! This is a temporary class whilst we refactor out old code")]
internal class LegacySqlHelper
{
private static ISqlHelper _sqlHelper;

View File

@@ -173,6 +173,7 @@
<Link>Properties\SolutionInfo.cs</Link>
</Compile>
<Compile Include="businesslogic\CMSPreviewNode.cs" />
<Compile Include="businesslogic\LegacySqlHelper.cs" />
<Compile Include="businesslogic\macro\IMacroEngine.cs" />
<Compile Include="businesslogic\macro\MacroEngineFactory.cs" />
<Compile Include="businesslogic\macro\MacroModel.cs" />