AspireEFSqliteExtensions
Classstaticnet10.0
Extension methods for configuring Sqlite with Entity Framework Core.
namespace Microsoft.Extensions.Hosting;
public static class AspireEFSqliteExtensions{ // ...}Methods2
Section titled Methods Registers the
TContext as a scoped service in the services provided by the builder. EnrichSqliteDatabaseDbContext(IHostApplicationBuilder, Action<SqliteEntityFrameworkCoreSettings>) extension Configures retries, health check, logging and telemetry for the
EntityFrameworkCore.DbContext .