mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2024-11-14 17:44:20 +01:00
12 lines
331 B
C#
12 lines
331 B
C#
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace SharpRSS.Data;
|
|
|
|
public sealed class SRSSContext : DbContext
|
|
{
|
|
public SRSSContext(DbContextOptions<SRSSContext> options) : base(options)
|
|
{
|
|
ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
|
|
ChangeTracker.LazyLoadingEnabled = false;
|
|
}
|
|
} |