Partager via


RelationalOptionsExtension.WithParameterizedCollectionTranslationMode 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 WithParameterizedCollectionTranslationMode (Microsoft.EntityFrameworkCore.Internal.ParameterizedCollectionTranslationMode parameterizedCollectionTranslationMode);
abstract member WithParameterizedCollectionTranslationMode : Microsoft.EntityFrameworkCore.Internal.ParameterizedCollectionTranslationMode -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
override this.WithParameterizedCollectionTranslationMode : Microsoft.EntityFrameworkCore.Internal.ParameterizedCollectionTranslationMode -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
Public Overridable Function WithParameterizedCollectionTranslationMode (parameterizedCollectionTranslationMode As ParameterizedCollectionTranslationMode) As RelationalOptionsExtension

Parameters

parameterizedCollectionTranslationMode
Microsoft.EntityFrameworkCore.Internal.ParameterizedCollectionTranslationMode

The option to change.

Returns

Applies to