Implement XAiMcpServer Stuffs ...

This commit is contained in:
2026-11-02 23:16:50 +03:30
parent 9e7710e345
commit 62aa8d51e6
31 changed files with 641 additions and 7 deletions
@@ -0,0 +1,17 @@
using System;
using xAiModels.Constants;
using xDataService.Providers;
using xAiModels.Models.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace xAiModels.Configurations.Entities
{
public class XAiMcpServerEntityConfiguration : XBaseEntityTypeConfiguration<XAiMcpServer, Guid>
{
public override void Configure(EntityTypeBuilder<XAiMcpServer> builder)
{
builder.ToTable(XAiModelsConstants.XAiMcpServerTable);
}
}
}
+4
View File
@@ -25,6 +25,10 @@ namespace xAiModels.Configurations
// XAiProject ...
CreateMap<XAiProject, XAiProjectDto>();
//
CreateMap<XAiMcpServer, XAiMcpServerDto>();
CreateMap<XAiMcpServerDto, XAiMcpServer>();
//
// XAiConversation ...
CreateMap<XAiConversation, XAiConversationDto>();