Compartir a través de


RelationalAdHocMapper 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 RelationalAdHocMapper (Microsoft.EntityFrameworkCore.Metadata.AdHocMapperDependencies dependencies, Microsoft.EntityFrameworkCore.Metadata.RelationalAdHocMapperDependencies relationalDependencies);
new Microsoft.EntityFrameworkCore.Metadata.RelationalAdHocMapper : Microsoft.EntityFrameworkCore.Metadata.AdHocMapperDependencies * Microsoft.EntityFrameworkCore.Metadata.RelationalAdHocMapperDependencies -> Microsoft.EntityFrameworkCore.Metadata.RelationalAdHocMapper
Public Sub New (dependencies As AdHocMapperDependencies, relationalDependencies As RelationalAdHocMapperDependencies)

Parameters

relationalDependencies
RelationalAdHocMapperDependencies

Applies to