BotSharp/src/Infrastructure/BotSharp.Core/Repository/BotSharpDbContext.cs

10 lines
377 B
C#
Raw Normal View History

2023-06-11 23:46:02 +00:00
namespace BotSharp.Core.Repository;
2023-07-21 21:56:14 +00:00
public class BotSharpDbContext : Database
2023-06-11 23:46:02 +00:00
{
public IQueryable<UserRecord> User => Table<UserRecord>();
public IQueryable<AgentRecord> Agent => Table<AgentRecord>();
2023-07-25 02:22:18 +00:00
public IQueryable<UserAgentRecord> UserAgent => Table<UserAgentRecord>();
2023-06-27 18:31:13 +00:00
public IQueryable<ConversationRecord> Conversation => Table<ConversationRecord>();
2023-06-11 23:46:02 +00:00
}