Share via


RelationalOptionsExtension.WithDefaultWarningConfiguration Method

Definition

Adds default WarningBehavior for relational events.

public static Microsoft.EntityFrameworkCore.Infrastructure.CoreOptionsExtension WithDefaultWarningConfiguration (Microsoft.EntityFrameworkCore.Infrastructure.CoreOptionsExtension coreOptionsExtension);
static member WithDefaultWarningConfiguration : Microsoft.EntityFrameworkCore.Infrastructure.CoreOptionsExtension -> Microsoft.EntityFrameworkCore.Infrastructure.CoreOptionsExtension
Public Shared Function WithDefaultWarningConfiguration (coreOptionsExtension As CoreOptionsExtension) As CoreOptionsExtension

Parameters

coreOptionsExtension
CoreOptionsExtension

The core options extension.

Returns

The new core options extension.

Applies to