last ...
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using xAiApi.AI.Interfaces.Entities;
|
||||
using xAiApi.AI.Models.Entities;
|
||||
using xDataService.Configuration;
|
||||
@@ -9,6 +10,11 @@ using xDataService.Interfaces;
|
||||
|
||||
namespace xAiApi.Data.Repositories.Ef
|
||||
{
|
||||
/// <summary>
|
||||
/// a Repository Pattern Implementation for
|
||||
/// manipulating AiProjects ...
|
||||
/// </summary>
|
||||
/// <typeparam name="TDbContext"></typeparam>
|
||||
public class XAiProjectEfRepository<TDbContext> : XBaseEFRepository<XAiProject, Guid, XAiApiDbContext>, IXAiProjectRepository
|
||||
where TDbContext : XDbContext
|
||||
{
|
||||
@@ -28,7 +34,9 @@ namespace xAiApi.Data.Repositories.Ef
|
||||
|
||||
public override IQueryable<XAiProject> GetFullDbSet()
|
||||
{
|
||||
return dbSet;
|
||||
//
|
||||
return dbSet
|
||||
.Include(x => x.Conversations);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user