語言

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 版本時應用程式失敗。

適用於