RelationalMemberTranslatorProvider.AddTranslators 方法

定义

添加将优先于现有已注册翻译器的其他翻译器。

protected virtual void AddTranslators (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.IMemberTranslator> translators);
abstract member AddTranslators : seq<Microsoft.EntityFrameworkCore.Query.IMemberTranslator> -> unit
override this.AddTranslators : seq<Microsoft.EntityFrameworkCore.Query.IMemberTranslator> -> unit
Protected Overridable Sub AddTranslators (translators As IEnumerable(Of IMemberTranslator))

参数

translators
IEnumerable<IMemberTranslator>

要添加的翻译器。

适用于