这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
colin 3936107340 upgrade: upgrade abp to 10.0.2 1 month ago
..
LINGYUN/Abp/MessageService fix(EfCoreMessageRepository): 优化消息查询逻辑,解决在pgsql下报错的问题,合并用户消息和群组消息查询并简化代码结构。 1 year ago
FodyWeavers.xml upgrade(abp): upgrade abp framework to 7.4.0 2 years ago
FodyWeavers.xsd upgrade(abp): upgrade abp framework to 7.4.0 2 years ago
LINGYUN.Abp.MessageService.EntityFrameworkCore.csproj upgrade: upgrade abp to 10.0.2 1 month ago
README.EN.md feat(docs): 添加实时消息模块文档 1 year ago
README.md feat(docs): 添加实时消息模块文档 1 year ago

README.md

LINGYUN.Abp.MessageService.EntityFrameworkCore

消息服务的 EntityFrameworkCore 实现模块。

功能特性

  • 实现消息服务的数据访问层
  • 提供默认仓储实现
  • 实现以下实体的仓储:
    • ChatGroup - 聊天组
    • UserChatGroup - 用户聊天组
    • UserChatCard - 用户聊天卡片
    • UserChatSetting - 用户聊天设置
    • UserChatFriend - 用户聊天好友

依赖模块

配置使用

  1. 首先,需要安装 LINGYUN.Abp.MessageService.EntityFrameworkCore 到你的项目中:
dotnet add package LINGYUN.Abp.MessageService.EntityFrameworkCore
  1. 添加 AbpMessageServiceEntityFrameworkCoreModule 到你的模块的依赖列表:
[DependsOn(typeof(AbpMessageServiceEntityFrameworkCoreModule))]
public class YourModule : AbpModule
{
}
  1. 在你的 DbContext 中添加消息服务相关的 DbSet:
public class YourDbContext : AbpDbContext<YourDbContext>, IMessageServiceDbContext
{
    public DbSet<ChatGroup> ChatGroups { get; set; }
    public DbSet<UserChatGroup> UserChatGroups { get; set; }
    public DbSet<UserChatCard> UserChatCards { get; set; }
    public DbSet<UserChatSetting> UserChatSettings { get; set; }
    public DbSet<UserChatFriend> UserChatFriends { get; set; }
    
    public YourDbContext(DbContextOptions<YourDbContext> options) 
        : base(options)
    {
    }
}

更多

English document