Method PreviewMigrationAsync<TProps, TMigration>(IRedbService, ISqlDialectPro)
Preview migration (dry-run) - show SQL without executing.
Example:
var preview = await redb.PreviewMigrationAsync<OrderProps, OrderPropsMigration>(dialect);
foreach (var result in preview)
Console.WriteLine(result.SqlExecuted);
public static Task<List<MigrationResult>> PreviewMigrationAsync<TProps, TMigration>(this IRedbService redb, ISqlDialectPro dialect) where TProps : class where TMigration : IRedbMigration<TProps>, new()