Class MigrationsAssembly
- Namespace
- Microsoft.EntityFrameworkCore.Migrations.Internal
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class MigrationsAssembly : IMigrationsAssembly
- Inheritance
-
MigrationsAssembly
- Implements
- Inherited Members
- Extension Methods
Constructors
MigrationsAssembly(ICurrentDbContext, IDbContextOptions, IMigrationsIdGenerator, IDiagnosticsLogger<Migrations>)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public MigrationsAssembly(ICurrentDbContext currentContext, IDbContextOptions options, IMigrationsIdGenerator idGenerator, IDiagnosticsLogger<DbLoggerCategory.Migrations> logger)
Parameters
currentContext
ICurrentDbContextoptions
IDbContextOptionsidGenerator
IMigrationsIdGeneratorlogger
IDiagnosticsLogger<Migrations>
Properties
Assembly
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual Assembly Assembly { get; }
Property Value
Migrations
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IReadOnlyDictionary<string, TypeInfo> Migrations { get; }
Property Value
ModelSnapshot
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual ModelSnapshot? ModelSnapshot { get; }
Property Value
Methods
CreateMigration(TypeInfo, string)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual Migration CreateMigration(TypeInfo migrationClass, string activeProvider)
Parameters
Returns
FindMigrationId(string)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual string? FindMigrationId(string nameOrId)
Parameters
nameOrId
string