Skip to content

SP stopped scaffolding nullable parameters #3315

@Bartnesko

Description

@Bartnesko

Question

hello,
i have this procedure

ALTER PROCEDURE [Event].[usp_ScheduleMailToSend](
@from VARCHAR(100)
,@to VARCHAR(100)
,@subject VARCHAR(400)
,@Body NVARCHAR(MAX)
,@filename VARCHAR(70) NULL
,@FilePath NVARCHAR(1000) NULL
)

and it scaffolded nullable parameters as not nullable

public partial interface IPhoenixBookingsContextProcedures
{
Task UspScheduleMailToSendAsync(string from, string to, string subject, string body, string fileName, string filePath, OutputParameter? returnValue = null, CancellationToken? cancellationToken = default);
}

is this bug or feature?

what should i do in order to achieve similar functionality?

EF Core Power Tools version

2.6.1378

EF Core Power Tools CLI version

2.6.1378

Database provider

Microsoft.EntityFrameworkCore.SqlServer

Target framework

.NET 10

IDE

Visual Studio 2026 Professional 18.3.0

Do you use T4 templates?

None

Do you use Handlebars templates?

None

Is a SQL Server .dacpac / Database project used?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions