Obsoletes all legacy installer classes from the legacy data layer.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user