17 lines
416 B
C#
17 lines
416 B
C#
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Chatbot.Api.Domain.Data.DbContexts
|
|
{
|
|
public class ChatDbContext : DbContext
|
|
{
|
|
public ChatDbContext(DbContextOptions<ChatDbContext> options)
|
|
: base(options)
|
|
{
|
|
base.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.TrackAll;
|
|
base.ChangeTracker.AutoDetectChangesEnabled = true;
|
|
}
|
|
|
|
|
|
}
|
|
}
|