MigrationsCodeGeneratorDependencies.With Yöntem

Tanım

Aşırı Yüklemeler

With(IAnnotationCodeGenerator)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

With(IRelationalTypeMappingSource)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

With(IAnnotationCodeGenerator)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

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

Parametreler

annotationCodeGenerator
IAnnotationCodeGenerator

Bu türün geçerli bağımlılığı için bir değiştirme.

Döndürülenler

MigrationsCodeGeneratorDependencies

Verilen hizmet ile yeni bir parametre nesnesi değişti.

Şunlara uygulanır

With(IRelationalTypeMappingSource)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

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

Parametreler

relationalTypeMappingSource
IRelationalTypeMappingSource

Bu türün geçerli bağımlılığı için bir değiştirme.

Döndürülenler

MigrationsCodeGeneratorDependencies

Verilen hizmet ile yeni bir parametre nesnesi değişti.

Şunlara uygulanır