Implement XAiMcpServer Stuffs ...
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,6 +25,10 @@ namespace xAiModels.Configurations
|
||||
// XAiProject ...
|
||||
CreateMap<XAiProject, XAiProjectDto>();
|
||||
|
||||
//
|
||||
CreateMap<XAiMcpServer, XAiMcpServerDto>();
|
||||
CreateMap<XAiMcpServerDto, XAiMcpServer>();
|
||||
|
||||
//
|
||||
// XAiConversation ...
|
||||
CreateMap<XAiConversation, XAiConversationDto>();
|
||||
|
||||
Reference in New Issue
Block a user