MigrationsCodeGeneratorDependencies.With 메서드

정의

오버로드

With(IAnnotationCodeGenerator)

이 종속성 매개 변수 개체를 하나의 서비스로 대체하여 복제합니다.

With(IRelationalTypeMappingSource)

이 종속성 매개 변수 개체를 하나의 서비스로 대체하여 복제합니다.

With(IAnnotationCodeGenerator)

이 종속성 매개 변수 개체를 하나의 서비스로 대체하여 복제합니다.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGeneratorDependencies With (Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
member this.With : Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGeneratorDependencies
Public Function With (annotationCodeGenerator As IAnnotationCodeGenerator) As MigrationsCodeGeneratorDependencies

매개 변수

annotationCodeGenerator
IAnnotationCodeGenerator

이 형식의 현재 종속성을 대체합니다.

반환

지정된 서비스가 대체된 새 매개 변수 개체입니다.

적용 대상

With(IRelationalTypeMappingSource)

이 종속성 매개 변수 개체를 하나의 서비스로 대체하여 복제합니다.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGeneratorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource relationalTypeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGeneratorDependencies
Public Function With (relationalTypeMappingSource As IRelationalTypeMappingSource) As MigrationsCodeGeneratorDependencies

매개 변수

relationalTypeMappingSource
IRelationalTypeMappingSource

이 형식의 현재 종속성을 대체합니다.

반환

지정된 서비스가 대체된 새 매개 변수 개체입니다.

적용 대상