Proyecto ChatBot Con Gemini
This commit is contained in:
13
ChatbotApi/Data/AppContexto.cs
Normal file
13
ChatbotApi/Data/AppContexto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
// ChatbotApi/Data/Models/AppContexto.cs
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
|
||||
namespace ChatbotApi.Data.Models
|
||||
{
|
||||
public class AppContexto : IdentityDbContext
|
||||
{
|
||||
public AppContexto(DbContextOptions<AppContexto> options) : base(options) { }
|
||||
|
||||
public DbSet<ContextoItem> ContextoItems { get; set; } = null!;
|
||||
public DbSet<ConversacionLog> ConversacionLogs { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user