Share via


RelationalOptionsExtension.WithUseParameterizedCollectionMode Method

Definition

Creates a new instance with all options the same as for this instance, but with the given option changed. It is unusual to call this method directly. Instead use DbContextOptionsBuilder.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension WithUseParameterizedCollectionMode(Microsoft.EntityFrameworkCore.ParameterTranslationMode parameterizedCollectionMode);
abstract member WithUseParameterizedCollectionMode : Microsoft.EntityFrameworkCore.ParameterTranslationMode -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
override this.WithUseParameterizedCollectionMode : Microsoft.EntityFrameworkCore.ParameterTranslationMode -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
Public Overridable Function WithUseParameterizedCollectionMode (parameterizedCollectionMode As ParameterTranslationMode) As RelationalOptionsExtension

Parameters

parameterizedCollectionMode
ParameterTranslationMode

The option to change.

Returns

Applies to