Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

NullMigrationContext.cs

using FluentMigrator;
using FluentMigrator.Expressions;
using FluentMigrator.Infrastructure;

namespace Nop.Data.Migrations;

/// 
/// Represents the migration context with a null implementation of a processor that does not do any work
/// 
public class NullMigrationContext : IMigrationContext
{
    public IServiceProvider ServiceProvider { get; set; }

    public ICollection Expressions { get; set; } = new List();

    public IQuerySchema QuerySchema { get; set; }
#pragma warning disable 612
    public IAssemblyCollection MigrationAssemblies { get; set; }
    public object ApplicationContext { get; set; }
#pragma warning restore 612
    public string Connection { get; set; }
}