Compartilhar via


RelationalOptionsExtension.WithUseQuerySplittingBehavior Método

Definição

Cria uma nova instância com todas as opções iguais às desta instância, mas com a opção fornecida alterada. É incomum chamar esse método diretamente. Use DbContextOptionsBuilder.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension WithUseQuerySplittingBehavior (Microsoft.EntityFrameworkCore.QuerySplittingBehavior querySplittingBehavior);
abstract member WithUseQuerySplittingBehavior : Microsoft.EntityFrameworkCore.QuerySplittingBehavior -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
override this.WithUseQuerySplittingBehavior : Microsoft.EntityFrameworkCore.QuerySplittingBehavior -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
Public Overridable Function WithUseQuerySplittingBehavior (querySplittingBehavior As QuerySplittingBehavior) As RelationalOptionsExtension

Parâmetros

querySplittingBehavior
QuerySplittingBehavior

A opção a ser alterada.

Retornos

Uma nova instância com a opção alterada.

Aplica-se a