MigrationsScaffolderDependencies Oluşturucular
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.
Aşırı Yüklemeler
| MigrationsScaffolderDependencies(ICurrentDbContext, IModel, IMigrationsAssembly, IMigrationsModelDiffer, IMigrationsIdGenerator, IMigrationsCodeGenerator, IHistoryRepository, IOperationReporter, IDatabaseProvider, ISnapshotModelProcessor) |
İçin hizmet bağımlılıkları parametre nesnesini oluşturur MigrationsScaffolder . 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 API Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API, gelecek sürümlerde değişebilir veya kaldırılabilir. |
| MigrationsScaffolderDependencies(ICurrentDbContext, IModel, IMigrationsAssembly, IMigrationsModelDiffer, IMigrationsIdGenerator, IMigrationsCodeGeneratorSelector, IHistoryRepository, IOperationReporter, IDatabaseProvider, ISnapshotModelProcessor, IMigrator) |
İçin hizmet bağımlılıkları parametre nesnesini oluşturur MigrationsScaffolder . 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. 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. |
| MigrationsScaffolderDependencies(ICurrentDbContext, IModel, IMigrationsAssembly, IMigrationsModelDiffer, IMigrationsIdGenerator, IMigrationsCodeGeneratorSelector, IHistoryRepository, IOperationReporter, IDatabaseProvider, ISnapshotModelProcessor, IMigrator) |
İçin hizmet bağımlılıkları parametre nesnesini oluşturur MigrationsScaffolder . 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 API Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API, gelecek sürümlerde değişebilir veya kaldırılabilir. |
MigrationsScaffolderDependencies(ICurrentDbContext, IModel, IMigrationsAssembly, IMigrationsModelDiffer, IMigrationsIdGenerator, IMigrationsCodeGenerator, IHistoryRepository, IOperationReporter, IDatabaseProvider, ISnapshotModelProcessor)
İçin hizmet bağımlılıkları parametre nesnesini oluşturur MigrationsScaffolder .
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 API Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API, gelecek sürümlerde değişebilir veya kaldırılabilir.
public MigrationsScaffolderDependencies (Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentDbContext, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly migrationsAssembly, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer migrationsModelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator migrationsIdGenerator, Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGenerator migrationCodeGenerator, Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository historyRepository, Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter operationReporter, Microsoft.EntityFrameworkCore.Storage.IDatabaseProvider databaseProvider, Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor snapshotModelProcessor);
new Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies : Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator * Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGenerator * Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository * Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter * Microsoft.EntityFrameworkCore.Storage.IDatabaseProvider * Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Sub New (currentDbContext As ICurrentDbContext, model As IModel, migrationsAssembly As IMigrationsAssembly, migrationsModelDiffer As IMigrationsModelDiffer, migrationsIdGenerator As IMigrationsIdGenerator, migrationCodeGenerator As IMigrationsCodeGenerator, historyRepository As IHistoryRepository, operationReporter As IOperationReporter, databaseProvider As IDatabaseProvider, snapshotModelProcessor As ISnapshotModelProcessor)
Parametreler
- currentDbContext
- Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext
Geçerli DbContext.
- model
- IModel
Model.
- migrationsAssembly
- IMigrationsAssembly
Geçişler derlemesi.
- migrationsModelDiffer
- IMigrationsModelDiffer
Geçişler modeli farklı.
- migrationsIdGenerator
- IMigrationsIdGenerator
Geçiş KIMLIĞI Oluşturucu.
- migrationCodeGenerator
- IMigrationsCodeGenerator
Geçişler kod Oluşturucu.
- historyRepository
- IHistoryRepository
Geçmiş deposu.
- operationReporter
- Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter
İşlem Raporlayıcı.
- databaseProvider
- IDatabaseProvider
Veritabanı sağlayıcısı.
- snapshotModelProcessor
- Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor
Anlık görüntü modeli işlemcisi.
Şunlara uygulanır
MigrationsScaffolderDependencies(ICurrentDbContext, IModel, IMigrationsAssembly, IMigrationsModelDiffer, IMigrationsIdGenerator, IMigrationsCodeGeneratorSelector, IHistoryRepository, IOperationReporter, IDatabaseProvider, ISnapshotModelProcessor, IMigrator)
İçin hizmet bağımlılıkları parametre nesnesini oluşturur MigrationsScaffolder .
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.
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.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public MigrationsScaffolderDependencies (Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly migrationsAssembly, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer migrationsModelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator migrationsIdGenerator, Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGeneratorSelector migrationsCodeGeneratorSelector, Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository historyRepository, Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter operationReporter, Microsoft.EntityFrameworkCore.Storage.IDatabaseProvider databaseProvider, Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor snapshotModelProcessor, Microsoft.EntityFrameworkCore.Migrations.IMigrator migrator);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator * Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGeneratorSelector * Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository * Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter * Microsoft.EntityFrameworkCore.Storage.IDatabaseProvider * Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor * Microsoft.EntityFrameworkCore.Migrations.IMigrator -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Sub New (currentContext As ICurrentDbContext, model As IModel, migrationsAssembly As IMigrationsAssembly, migrationsModelDiffer As IMigrationsModelDiffer, migrationsIdGenerator As IMigrationsIdGenerator, migrationsCodeGeneratorSelector As IMigrationsCodeGeneratorSelector, historyRepository As IHistoryRepository, operationReporter As IOperationReporter, databaseProvider As IDatabaseProvider, snapshotModelProcessor As ISnapshotModelProcessor, migrator As IMigrator)
Parametreler
- currentContext
- ICurrentDbContext
- model
- IModel
- migrationsAssembly
- IMigrationsAssembly
- migrationsModelDiffer
- IMigrationsModelDiffer
- migrationsIdGenerator
- IMigrationsIdGenerator
- migrationsCodeGeneratorSelector
- IMigrationsCodeGeneratorSelector
- historyRepository
- IHistoryRepository
- operationReporter
- Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter
- databaseProvider
- IDatabaseProvider
- snapshotModelProcessor
- Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor
- migrator
- IMigrator
- Öznitelikler
Şunlara uygulanır
MigrationsScaffolderDependencies(ICurrentDbContext, IModel, IMigrationsAssembly, IMigrationsModelDiffer, IMigrationsIdGenerator, IMigrationsCodeGeneratorSelector, IHistoryRepository, IOperationReporter, IDatabaseProvider, ISnapshotModelProcessor, IMigrator)
İçin hizmet bağımlılıkları parametre nesnesini oluşturur MigrationsScaffolder .
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 API Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API, gelecek sürümlerde değişebilir veya kaldırılabilir.
public MigrationsScaffolderDependencies (Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentDbContext, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly migrationsAssembly, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer migrationsModelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator migrationsIdGenerator, Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGeneratorSelector migrationsCodeGeneratorSelector, Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository historyRepository, Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter operationReporter, Microsoft.EntityFrameworkCore.Storage.IDatabaseProvider databaseProvider, Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor snapshotModelProcessor, Microsoft.EntityFrameworkCore.Migrations.IMigrator migrator);
new Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies : Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator * Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGeneratorSelector * Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository * Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter * Microsoft.EntityFrameworkCore.Storage.IDatabaseProvider * Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor * Microsoft.EntityFrameworkCore.Migrations.IMigrator -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Sub New (currentDbContext As ICurrentDbContext, model As IModel, migrationsAssembly As IMigrationsAssembly, migrationsModelDiffer As IMigrationsModelDiffer, migrationsIdGenerator As IMigrationsIdGenerator, migrationsCodeGeneratorSelector As IMigrationsCodeGeneratorSelector, historyRepository As IHistoryRepository, operationReporter As IOperationReporter, databaseProvider As IDatabaseProvider, snapshotModelProcessor As ISnapshotModelProcessor, migrator As IMigrator)
Parametreler
- currentDbContext
- Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext
Geçerli DbContext.
- model
- IModel
Model.
- migrationsAssembly
- IMigrationsAssembly
Geçişler derlemesi.
- migrationsModelDiffer
- IMigrationsModelDiffer
Geçişler modeli farklı.
- migrationsIdGenerator
- IMigrationsIdGenerator
Geçiş KIMLIĞI Oluşturucu.
- migrationsCodeGeneratorSelector
- IMigrationsCodeGeneratorSelector
Geçişleri kod Oluşturucu Seçicisi.
- historyRepository
- IHistoryRepository
Geçmiş deposu.
- operationReporter
- Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter
İşlem Raporlayıcı.
- databaseProvider
- IDatabaseProvider
Veritabanı sağlayıcısı.
- snapshotModelProcessor
- Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor
Anlık görüntü modeli işlemcisi.
- migrator
- IMigrator
Migrator.