语言

SqlAliasManager.RemapTableAliases(IReadOnlySet<String>) 方法

定义

给定 SQL 树中当前正在使用的表别名列表,请为该列表中的别名生成重新映射。 可用于关闭已修剪的表的间隙等。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual System.Collections.Generic.Dictionary<string,string>? RemapTableAliases(System.Collections.Generic.IReadOnlySet<string> usedAliases);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member RemapTableAliases : System.Collections.Generic.IReadOnlySet<string> -> System.Collections.Generic.Dictionary<string, string>
override this.RemapTableAliases : System.Collections.Generic.IReadOnlySet<string> -> System.Collections.Generic.Dictionary<string, string>
Protected Overridable Function RemapTableAliases (usedAliases As IReadOnlySet(Of String)) As Dictionary(Of String, String)

参数

usedAliases
IReadOnlySet<String>

返回

特性

注解

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

适用于