Obsoletes all legacy installer classes from the legacy data layer.

This commit is contained in:
Shannon
2013-09-10 11:43:07 +10:00
parent e60f20a6a2
commit 105af392dc
14 changed files with 21 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ namespace SqlCE4Umbraco
/// <summary>
/// Database installer for an SQL Server data source.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public class SqlCEInstaller : DefaultInstallerUtility<SqlCEHelper>
{
#region Private Constants

View File

@@ -6,6 +6,7 @@
*
***********************************************************************************/
using System;
using umbraco.DataLayer.SqlHelpers.SqlServer;
using umbraco.DataLayer.Utility;
using umbraco.DataLayer.Utility.Installer;
@@ -16,6 +17,7 @@ namespace SqlCE4Umbraco
/// <summary>
/// Utility for an SQL Server data source.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public class SqlCEUtility : DefaultUtility<SqlCEHelper>
{
#region Public Constructors

View File

@@ -15,6 +15,7 @@ namespace umbraco.DataLayer.SqlHelpers.MySql
/// <summary>
/// Utility for an MySql data source.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public class MySqlUtility : DefaultUtility<MySqlHelper>
{
#region Public Constructors

View File

@@ -16,6 +16,7 @@ namespace umbraco.DataLayer.SqlHelpers.SqlServer
/// <summary>
/// Utility for an SQL Server data source.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public class SqlServerUtility : DefaultUtility<SqlServerHelper>
{
#region Public Constructors

View File

@@ -6,12 +6,15 @@
*
***********************************************************************************/
using System;
namespace umbraco.DataLayer.Utility
{
/// <summary>
/// Base class for utilities that use an ISqlHelper as data source.
/// </summary>
/// <typeparam name="S">The SQL helper type.</typeparam>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public abstract class BaseUtility<S> where S : ISqlHelper
{
#region Private Fields

View File

@@ -17,6 +17,7 @@ namespace umbraco.DataLayer.Utility
/// that operate on data layer level.
/// </summary>
/// <typeparam name="S"></typeparam>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public class DefaultUtility<S> : IUtilitySet where S : ISqlHelper
{
#region Private Fields

View File

@@ -6,11 +6,14 @@
*
***********************************************************************************/
using System;
namespace umbraco.DataLayer.Utility.Installer
{
/// <summary>
/// Version number of an Umbraco database.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public enum DatabaseVersion
{
/// <summary>Database connection unsuccessful.</summary>

View File

@@ -16,6 +16,7 @@ namespace umbraco.DataLayer.Utility.Installer
/// Base class for installers that use an ISqlHelper as data source.
/// </summary>
/// <typeparam name="S">The SQL helper type.</typeparam>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public abstract class DefaultInstallerUtility<S> : BaseUtility<S>, IInstallerUtility where S : ISqlHelper
{
#region Private Fields

View File

@@ -1,3 +1,5 @@
using System;
namespace umbraco.DataLayer.Utility.Installer
{
/// <summary>
@@ -8,6 +10,7 @@ namespace umbraco.DataLayer.Utility.Installer
/// <remarks>
/// This also supports checking for a value in a table.
/// </remarks>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public struct VersionSpecs
{
/// <summary>The SQL statament to execute in order to test for the specified version</summary>

View File

@@ -5,6 +5,7 @@ namespace umbraco.DataLayer.Utility.Table
/// <summary>
/// Default implementation of the <see cref="IField"/> interface.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public class DefaultField : IField
{
#region Public Constructors

View File

@@ -7,6 +7,7 @@ namespace umbraco.DataLayer.Utility.Table
/// <summary>
/// Default implementation of the <see cref="DefaultTable"/> interface.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public class DefaultTable : ITable
{
#region Private Fields

View File

@@ -8,6 +8,7 @@ namespace umbraco.DataLayer.Utility.Table
/// Properties for a table field.
/// </summary>
[Flags]
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public enum FieldProperties
{
/// <summary>

View File

@@ -5,6 +5,7 @@ namespace umbraco.DataLayer.Utility.Table
/// <summary>
/// Interface for classes that represent a table field.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public interface IField
{
/// <summary>

View File

@@ -6,6 +6,7 @@ namespace umbraco.DataLayer.Utility.Table
/// <summary>
/// Interface for classes that represent a data source table.
/// </summary>
[Obsolete("The legacy installers are no longer used and will be removed from the codebase in the future")]
public interface ITable : IEnumerable<IField>
{
/// <summary>