CSharpMigrationsGeneratorDependencies(ICSharpHelper, ICSharpMigrationOperationGenerator, ICSharpSnapshotGenerator) Oluşturucu
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
İçin hizmet bağımlılıkları parametre nesnesini oluşturur CSharpMigrationsGenerator .
Yeni bağımlılıklar eklendikçe, bu oluşturucuyu doğrudan sağlayıcı ya da uygulama kodundan çağırmayın. Bunun yerine, bu türü kurucuınızda kullanın, böylece bir örnek oluşturulup bağımlılık ekleme kapsayıcısı tarafından otomatik olarak eklenir. Bazı bağımlı hizmetlerle değiştirilmiş bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısından nesneyi çözümleyin, sonra seçili Hizmetleri ' with... ' kullanarak değiştirin Yöntem. Bu işlemin herhangi bir noktasında oluşturucuyu çağırmayın.
Bu, Entity Framework Core altyapısını destekleyen ve genel API 'Lerle aynı uyumluluk standartlarına tabi olmayan bir iç API 'dir. Herhangi bir yayında bildirimde bulunulmadan değiştirilebilir veya kaldırılabilir. Bu kodu yalnızca, büyük bir uyarı ile doğrudan kodunuzda kullanmanız ve bunu yapmanın, yeni bir Entity Framework Core sürümüne güncelleştirme yaparken uygulama hatalarıyla sonuçlanabileceğini bilmeniz gerekir.
public CSharpMigrationsGeneratorDependencies (Microsoft.EntityFrameworkCore.Design.ICSharpHelper csharpHelper, Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpMigrationOperationGenerator csharpMigrationOperationGenerator, Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpSnapshotGenerator csharpSnapshotGenerator);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public CSharpMigrationsGeneratorDependencies (Microsoft.EntityFrameworkCore.Design.ICSharpHelper csharpHelper, Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpMigrationOperationGenerator csharpMigrationOperationGenerator, Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpSnapshotGenerator csharpSnapshotGenerator);
new Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies : Microsoft.EntityFrameworkCore.Design.ICSharpHelper * Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpMigrationOperationGenerator * Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpSnapshotGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies : Microsoft.EntityFrameworkCore.Design.ICSharpHelper * Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpMigrationOperationGenerator * Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpSnapshotGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies
Public Sub New (csharpHelper As ICSharpHelper, csharpMigrationOperationGenerator As ICSharpMigrationOperationGenerator, csharpSnapshotGenerator As ICSharpSnapshotGenerator)
Parametreler
- csharpHelper
- ICSharpHelper
C# Yardımcısı.
- csharpMigrationOperationGenerator
- ICSharpMigrationOperationGenerator
C# geçiş işlemi Oluşturucu.
- csharpSnapshotGenerator
- ICSharpSnapshotGenerator
C# model anlık görüntü Oluşturucu.
- Öznitelikler