MigrationsCodeGenerator
MigrationsCodeGenerator(MigrationsCodeGeneratorDependencies)
Dependencies
FileExtension
Language
GenerateMetadata(String, Type, String, String, IModel)
GenerateMigration(String, String, IReadOnlyList<MigrationOperation>, IReadOnlyList<MigrationOperation>)
GenerateSnapshot(String, Type, String, IModel)
GetNamespaces(IModel)
GetNamespaces(IEnumerable<MigrationOperation>)
netcoreapp2.0
namespace Microsoft.EntityFrameworkCore.Migrations.Design
{
public abstract class MigrationsCodeGenerator : IMigrationsCodeGenerator
{
public abstract string GenerateMetadata(string migrationNamespace, Type contextType, string migrationName, string migrationId, IModel targetModel);
}
}
.NET | 8.09.010.0 |
---|---|
.NET Core | 2.02.12.2 |
Information specific to netcoreapp2.0 | |
Assembly | Microsoft.EntityFrameworkCore.Design , Version=2.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API