---
## خلاصه کامل کارهای انجام شده: ### ✅ تمام فایلهای ایجاد شده برای XAiVector: __مرحله 1 - Constants:__ - ✅ افزودن کانستنتها به `XAiModelsConstants.cs` __مرحله 2 - DTO & Configuration:__ - ✅ `Models/Dtos/XAiVectorDto.cs` - تکمیل شد - ✅ `Configurations/Entities/XAiVectorEntityConfiguration.cs` - ✅ `Configurations/Entities/XAiVectorMappingAction.cs` - ✅ آپدیت `Configurations/XAiModelMappersProfile.cs` __مرحله 3 - Interfaces Entities:__ - ✅ `Interfaces/Entities/IXAiVectorRepository.cs` - ✅ `Interfaces/Entities/IXAiVectorEntityHub.cs` - ✅ `Interfaces/Entities/IXAiVectorKeyGenerator.cs` - ✅ `Interfaces/Entities/IXAiVectorRepositoryEvents.cs` - ✅ `Interfaces/Entities/IXAiVectorRepositoryProvider.cs` - ✅ `Interfaces/Entities/IXAiVectorSeeder.cs` - ✅ `Interfaces/Entities/IXAiVectorGraphQLTypeHelper.cs` __مرحله 4 - Interfaces Dtos:__ - ✅ `Interfaces/Dtos/IXAiVectorDtoHub.cs` - ✅ `Interfaces/Dtos/IXAiVectorRepositoryService.cs` - ✅ `Interfaces/Dtos/IXAiVectorServiceProvider.cs` __مرحله 5 - Interfaces Enrichers:__ - ✅ `Interfaces/Enrichers/IXAiVectorEnricher.cs` __مرحله 6 - Providers Entities:__ - ✅ `Providers/Entities/XAiVectorEFRepository.cs` - ✅ `Providers/Entities/XAiVectorMongoRepository.cs` - ✅ `Providers/Entities/XAiVectorInMemoryRepository.cs` - ✅ `Providers/Entities/XAiVectorEntityHub.cs` - ✅ `Providers/Entities/XAiVectorKeyGenerator.cs` - ✅ `Providers/Entities/XAiVectorRepositoryEvents.cs` - ✅ `Providers/Entities/XAiVectorRepositoryProvider.cs` - ✅ `Providers/Entities/XAiVectorSeederBase.cs` __مرحله 7 - Providers Dtos:__ - ✅ `Providers/Dtos/XAiVectorDtoHub.cs` - ✅ `Providers/Dtos/XAiVectorRepositoryService.cs` - ✅ `Providers/Dtos/XAiVectorServiceProvider.cs` __مرحله 8 - Providers Enrichers:__ - ✅ `Providers/Enrichers/XAiVectorEnricher.cs` __مرحله 9 - Providers GraphQL:__ - ✅ `Providers/GraphQL/XAiVectorGraphType.cs` - ✅ `Providers/GraphQL/XAiVectorGraphQuery.cs` - ✅ `Providers/GraphQL/XAiVectorGraphSchema.cs` - ✅ `Providers/GraphQL/XAiVectorGraphQLTypeHelper.cs` __مرحله 10 - Registry:__ - ✅ `Providers/XAiVectorEntityRegisterar.cs` __مرحله 11 - Build:__ - ✅ پروژه با موفقیت build شد
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 XAiVectorEntityConfiguration : XBaseEntityTypeConfiguration<XAiVector, Guid>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<XAiVector> builder)
|
||||
{
|
||||
builder.ToTable(XAiModelsConstants.XAiVectorTable);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,10 @@ namespace xAiModels.Configurations
|
||||
// XAiMessage ...
|
||||
CreateMap<XAiMessage, XAiMessageDto>();
|
||||
|
||||
//
|
||||
// XAiVector ...
|
||||
CreateMap<XAiVector, XAiVectorDto>();
|
||||
|
||||
//
|
||||
// XAiProject ...
|
||||
CreateMap<XAiProject, XAiProjectDto>();
|
||||
|
||||
Reference in New Issue
Block a user