Skip to content

Class EntityFrameworkDatabaseMigrationRegistration

Namespace: Cephalon.Data.EntityFramework.Services
Assembly: Cephalon.Data.EntityFramework.dll

Describes one Entity Framework Core type that can satisfy one or more logical Engine:Databases migration targets.

public sealed class EntityFrameworkDatabaseMigrationRegistration

objectEntityFrameworkDatabaseMigrationRegistration

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

EntityFrameworkDatabaseMigrationRegistration(Type, IReadOnlyList<string>)

Section titled “ EntityFrameworkDatabaseMigrationRegistration(Type, IReadOnlyList<string>)”

Initializes a new instance of the class.

public EntityFrameworkDatabaseMigrationRegistration(Type dbContextType, IReadOnlyList<string> targetRoleIds)

dbContextType Type

The type that can apply schema changes.

targetRoleIds IReadOnlyList<string>

The logical migration targets satisfied by the context.

Gets the type that can apply schema changes.

public Type DbContextType { get; }

Type

Gets the logical migration targets satisfied by the context.

public IReadOnlyList<string> TargetRoleIds { get; }

IReadOnlyList<string>