MigrationsAssembly MigrationsAssembly Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class MigrationsAssembly : IMigrationsAssemblyPublic Class MigrationsAssembly
    Implements IMigrationsAssembly

Inheritance Hierarchy

  • System.Object
    System.Object
  • MigrationsAssembly
    MigrationsAssembly

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • MigrationsAssembly(ICurrentDbContext, IDbContextOptions, IMigrationsIdGenerator)
    MigrationsAssembly(ICurrentDbContext, IDbContextOptions, IMigrationsIdGenerator)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public MigrationsAssembly(ICurrentDbContext currentContext, IDbContextOptions options, IMigrationsIdGenerator idGenerator)Public Sub New(currentContext As ICurrentDbContext, options As IDbContextOptions, idGenerator As IMigrationsIdGenerator)

    Parameters

Properties

  • Assembly
    Assembly

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual Assembly Assembly { get; }Public Overridable ReadOnly Property Assembly As Assembly

    Property Value

    • System.Reflection.Assembly
      System.Reflection.Assembly
  • Migrations
    Migrations

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual IReadOnlyDictionary<string, TypeInfo> Migrations { get; }Public Overridable ReadOnly Property Migrations As IReadOnlyDictionary(Of String, TypeInfo)

    Property Value

    • System.Collections.Generic.IReadOnlyDictionary<TKey, TValue><System.String, System.Reflection.TypeInfo>
      System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>(Of System.String, System.Reflection.TypeInfo)
  • ModelSnapshot
    ModelSnapshot

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual ModelSnapshot ModelSnapshot { get; }Public Overridable ReadOnly Property ModelSnapshot As ModelSnapshot

    Property Value

Methods

  • CreateMigration(TypeInfo, String)
    CreateMigration(TypeInfo, String)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual Migration CreateMigration(TypeInfo migrationClass, string activeProvider)Public Overridable Function CreateMigration(migrationClass As TypeInfo, activeProvider As String) As Migration

    Parameters

    • migrationClass
      System.Reflection.TypeInfo
      System.Reflection.TypeInfo
    • activeProvider
      System.String
      System.String

    Returns

  • FindMigrationId(String)
    FindMigrationId(String)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual string FindMigrationId(string nameOrId)Public Overridable Function FindMigrationId(nameOrId As String) As String

    Parameters

    • nameOrId
      System.String
      System.String

    Returns

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll