Files
Umbraco-CMS/src/Umbraco.Core/Persistence/Migrations/IMigrationContext.cs
Morten Christensen 5cb865f4c4 Updating the MigrationContext to take the PetaPoco database via the ctor, so it can be used to fetch entries during migration.
Changing the MoveMasterContentTypeData migration to use the fluent Update statement with dynamic entries from the database.
Adding IfDatabase condition for Update.
Updating a few tests, which were using the MigrationContext.
2013-01-18 13:51:40 -01:00

11 lines
310 B
C#

using System.Collections.Generic;
namespace Umbraco.Core.Persistence.Migrations
{
public interface IMigrationContext
{
ICollection<IMigrationExpression> Expressions { get; set; }
DatabaseProviders CurrentDatabaseProvider { get; }
Database Database { get; }
}
}