/// <summary> /// Initializes the <see cref="DbContextBase"/> using the provided <see cref="IInitializeDbContext"/>. /// This should be called right after creating the context inside <see cref="IDbContextService"/>. /// </summary> /// <param name="context">The <see cref="IInitializeDbContext"/>.</param> public void Initialize(IInitializeDbContext context) { this.App = context.App; this.MigrationsAssembly = context.MigrationsAssembly; }
public void Initialize(IInitializeDbContext context) { this.App = context.App; this.MigrationsAssembly = context.MigrationsAssembly; }