Partager via


AdHocMapper(AdHocMapperDependencies) Constructor

Definition

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the C# 'with' operator. Do not call the constructor at any point in this process.

public AdHocMapper (Microsoft.EntityFrameworkCore.Metadata.AdHocMapperDependencies dependencies);
new Microsoft.EntityFrameworkCore.Metadata.AdHocMapper : Microsoft.EntityFrameworkCore.Metadata.AdHocMapperDependencies -> Microsoft.EntityFrameworkCore.Metadata.AdHocMapper
Public Sub New (dependencies As AdHocMapperDependencies)

Parameters

Applies to