Repository: dotnet/efcore
File: src/ef/OperationExecutorBase.cs (C#)

Code before:

    public IEnumerable<IDictionary> GetMigrations(string? contextType, string? connectionString, bool noConnect)
        => InvokeOperation<IEnumerable<IDictionary>>(
            "GetMigrations",
            new Dictionary<string, object?>
            {
                ["contextType"] = contextType,
                ["connectionString"] = connectionString,
                ["noConnect"] = noConnect
            });

    public void DropDatabase(string? contextType, string? connectionString)
        => InvokeOperation(
            "DropDatabase",
            new Dictionary<string, object?> { ["contextType"] = contextType, ["connectionString"] = connectionString });

    public IDictionary GetContextInfo(string? name)
        => InvokeOperation<IDictionary>(
            "GetContextInfo",
            new Dictionary<string, object?> { ["contextType"] = name });

    public void UpdateDatabase(string? migration, string? connectionString, string? contextType)
        => InvokeOperation(
            "UpdateDatabase",
            new Dictionary<string, object?>
            {
                ["targetMigration"] = migration,
                ["connectionString"] = connectionString,
                ["contextType"] = contextType
            });

    public IDictionary AddAndApplyMigration(string name, string? outputDir, string? contextType, string? @namespace, string? connectionString)
        => InvokeOperation<IDictionary>(
            "AddAndApplyMigration",
            new Dictionary<string, object?>
            {
                ["name"] = name,
                ["outputDir"] = outputDir,
                ["contextType"] = contextType,
                ["namespace"] = @namespace,
                ["connectionString"] = connectionString
            });

    public IEnumerable<IDictionary> GetContextTypes()
        => InvokeOperation<IEnumerable<IDictionary>>("GetContextTypes");

    public IEnumerable<string> OptimizeContext(
        string? outputDir,
        string? modelNamespace,
        string? contextType,
        string? suffix,

Review comment (suggestion):
Similar to `RemoveMigration`, this argument dictionary is inlined on a single long line. Consider formatting it across multiple lines to match the surrounding style and improve readability.

Code after:
            {
                ["contextType"] = contextType,
                ["force"] = force,
                ["offline"] = offline,
                ["connectionString"] = connectionString
            });

    public IEnumerable<IDictionary> GetMigrations(string? contextType, string? connectionString, bool noConnect)
        => InvokeOperation<IEnumerable<IDictionary>>(
            "GetMigrations",
            new Dictionary<string, object?>
            {
                ["contextType"] = contextType,
                ["connectionString"] = connectionString,
                ["noConnect"] = noConnect
            });

    public void DropDatabase(string? contextType, string? connectionString)
        => InvokeOperation(
            "DropDatabase",
            new Dictionary<string, object?>
            {
                ["contextType"] = contextType,
                ["connectionString"] = connectionString
            });

    public IDictionary GetContextInfo(string? name, string? connectionString = null)
        => InvokeOperation<IDictionary>(
            "GetContextInfo",
            new Dictionary<string, object?>
            {
                ["contextType"] = name,
                ["connectionString"] = connectionString
            });

    public void UpdateDatabase(string? migration, string? connectionString, string? contextType)
        => InvokeOperation(
            "UpdateDatabase",
            new Dictionary<string, object?>
            {
                ["targetMigration"] = migration,
                ["connectionString"] = connectionString,
                ["contextType"] = contextType
            });

    public IDictionary AddAndApplyMigration(string name, string? outputDir, string? contextType, string? @namespace, string? connectionString)
        => InvokeOperation<IDictionary>(
            "AddAndApplyMigration",
            new Dictionary<string, object?>
            {
                ["name"] = name,