共用方式為


ISqlAliasManagerFactory Interface

Definition

A factory creating managers for SQL aliases, capable of generate uniquified table aliases.

[System.Diagnostics.CodeAnalysis.Experimental("EF9002")]
public interface ISqlAliasManagerFactory
[<System.Diagnostics.CodeAnalysis.Experimental("EF9002")>]
type ISqlAliasManagerFactory = interface
Public Interface ISqlAliasManagerFactory
Derived
Attributes

Remarks

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

See Implementation of database providers and extensions for more information and examples.

Methods

Create()

Creates a new SqlAliasManager.

Applies to