BotSharp/src/Infrastructure/BotSharp.Abstraction/Repositories/IBotSharpRepository.cs

15 lines
447 B
C#
Raw Normal View History

2023-08-26 04:41:01 +00:00
using BotSharp.Abstraction.Repositories.Records;
using System.Linq;
namespace BotSharp.Abstraction.Repositories;
2023-08-10 04:53:22 +00:00
public interface IBotSharpRepository
{
IQueryable<UserRecord> User { get; }
IQueryable<AgentRecord> Agent { get; }
IQueryable<UserAgentRecord> UserAgent { get; }
IQueryable<ConversationRecord> Conversation { get; }
int Transaction<TTableInterface>(Action action);
void Add<TTableInterface>(object entity);
}