Поделиться через


CSharpMigrationsGenerator Конструкторы

Определение

Перегрузки

CSharpMigrationsGenerator(MigrationsCodeGeneratorDependencies, CSharpMigrationsGeneratorDependencies)

Инициализирует новый экземпляр класса CSharpMigrationsGenerator.

CSharpMigrationsGenerator(CSharpHelper, CSharpMigrationOperationGenerator, CSharpSnapshotGenerator)

CSharpMigrationsGenerator(MigrationsCodeGeneratorDependencies, CSharpMigrationsGeneratorDependencies)

Исходный код:
CSharpMigrationsGenerator.cs
Исходный код:
CSharpMigrationsGenerator.cs
Исходный код:
CSharpMigrationsGenerator.cs
Исходный код:
CSharpMigrationsGenerator.cs
Исходный код:
CSharpMigrationsGenerator.cs
Исходный код:
CSharpMigrationsGenerator.cs
Исходный код:
CSharpMigrationsGenerator.cs
Исходный код:
CSharpMigrationsGenerator.cs
Исходный код:
CSharpMigrationsGenerator.cs

Инициализирует новый экземпляр класса CSharpMigrationsGenerator.

public CSharpMigrationsGenerator (Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGeneratorDependencies dependencies, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies csharpDependencies);
new Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator : Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGeneratorDependencies * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator
Public Sub New (dependencies As MigrationsCodeGeneratorDependencies, csharpDependencies As CSharpMigrationsGeneratorDependencies)

Параметры

dependencies
MigrationsCodeGeneratorDependencies

Базовые зависимости.

csharpDependencies
CSharpMigrationsGeneratorDependencies

Зависимости.

Применяется к

CSharpMigrationsGenerator(CSharpHelper, CSharpMigrationOperationGenerator, CSharpSnapshotGenerator)

public CSharpMigrationsGenerator (Microsoft.EntityFrameworkCore.Migrations.Design.CSharpHelper codeHelper, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationOperationGenerator operationGenerator, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGenerator modelGenerator);
new Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator : Microsoft.EntityFrameworkCore.Migrations.Design.CSharpHelper * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationOperationGenerator * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator
Public Sub New (codeHelper As CSharpHelper, operationGenerator As CSharpMigrationOperationGenerator, modelGenerator As CSharpSnapshotGenerator)

Параметры

codeHelper
CSharpHelper
modelGenerator
CSharpSnapshotGenerator

Применяется к