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;

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

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

    public IQuerySchema QuerySchema { get; set; }

    public string Connection { get; set; }
}