次の方法で共有


SqlAliasManager.RemapTableAliases(IReadOnlySet<String>) Method

Definition

Given the list of table aliases currently in use in the SQL tree, produces a remapping for aliases within that list. Can be used to e.g. close gaps for tables which have been pruned, etc.

[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)

Parameters

usedAliases
IReadOnlySet<String>

Returns

Attributes

Remarks

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Applies to