Sdílet prostřednictvím


MigrationsScaffolderDependencies.With Metoda

Definice

Přetížení

With(IMigrator)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IMigrationsModelDiffer)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IMigrationsIdGenerator)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IMigrationsAssembly)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IHistoryRepository)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IModel)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IMigrationsCodeGenerator)
Zastaralé.

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(ISnapshotModelProcessor)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(ICurrentDbContext)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(ICurrentDbContext)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IOperationReporter)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IMigrationsCodeGeneratorSelector)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IDatabaseProvider)

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(IMigrator)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrator migrator);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrator -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (migrator As IMigrator) As MigrationsScaffolderDependencies

Parametry

migrator
IMigrator

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(IMigrationsModelDiffer)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer migrationsModelDiffer);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (migrationsModelDiffer As IMigrationsModelDiffer) As MigrationsScaffolderDependencies

Parametry

migrationsModelDiffer
IMigrationsModelDiffer

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(IMigrationsIdGenerator)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator migrationsIdGenerator);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (migrationsIdGenerator As IMigrationsIdGenerator) As MigrationsScaffolderDependencies

Parametry

migrationsIdGenerator
IMigrationsIdGenerator

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(IMigrationsAssembly)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly migrationsAssembly);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (migrationsAssembly As IMigrationsAssembly) As MigrationsScaffolderDependencies

Parametry

migrationsAssembly
IMigrationsAssembly

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(IHistoryRepository)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository historyRepository);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (historyRepository As IHistoryRepository) As MigrationsScaffolderDependencies

Parametry

historyRepository
IHistoryRepository

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(IModel)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Metadata.IModel model);
member this.With : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (model As IModel) As MigrationsScaffolderDependencies

Parametry

model
IModel

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(IMigrationsCodeGenerator)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Upozornění

Use an MigrationCodeGeneratorSelector instead.

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGenerator migrationCodeGenerator);
[System.Obsolete("Use an MigrationCodeGeneratorSelector instead.")]
public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGenerator migrationCodeGenerator);
member this.With : Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
[<System.Obsolete("Use an MigrationCodeGeneratorSelector instead.")>]
member this.With : Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (migrationCodeGenerator As IMigrationsCodeGenerator) As MigrationsScaffolderDependencies

Parametry

migrationCodeGenerator
IMigrationsCodeGenerator

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Atributy

Platí pro

With(ISnapshotModelProcessor)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor snapshotModelProcessor);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor snapshotModelProcessor);
member this.With : Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
member this.With : Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (snapshotModelProcessor As ISnapshotModelProcessor) As MigrationsScaffolderDependencies

Parametry

snapshotModelProcessor
Microsoft.EntityFrameworkCore.Migrations.Internal.ISnapshotModelProcessor

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Atributy

Platí pro

With(ICurrentDbContext)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentDbContext);
member this.With : Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (currentDbContext As ICurrentDbContext) As MigrationsScaffolderDependencies

Parametry

currentDbContext
Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(ICurrentDbContext)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (currentContext As ICurrentDbContext) As MigrationsScaffolderDependencies

Parametry

currentContext
ICurrentDbContext

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(IOperationReporter)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter operationReporter);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter operationReporter);
member this.With : Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
member this.With : Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (operationReporter As IOperationReporter) As MigrationsScaffolderDependencies

Parametry

operationReporter
Microsoft.EntityFrameworkCore.Design.Internal.IOperationReporter

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Atributy

Platí pro

With(IMigrationsCodeGeneratorSelector)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGeneratorSelector migrationsCodeGeneratorSelector);
member this.With : Microsoft.EntityFrameworkCore.Migrations.Design.IMigrationsCodeGeneratorSelector -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (migrationsCodeGeneratorSelector As IMigrationsCodeGeneratorSelector) As MigrationsScaffolderDependencies

Parametry

migrationsCodeGeneratorSelector
IMigrationsCodeGeneratorSelector

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(IDatabaseProvider)

Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs
Zdroj:
MigrationsScaffolderDependencies.cs

Naklonuje tento objekt parametru závislosti s jednou nahrazenou službou.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies With (Microsoft.EntityFrameworkCore.Storage.IDatabaseProvider databaseProvider);
member this.With : Microsoft.EntityFrameworkCore.Storage.IDatabaseProvider -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies
Public Function With (databaseProvider As IDatabaseProvider) As MigrationsScaffolderDependencies

Parametry

databaseProvider
IDatabaseProvider

Nahrazení aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro