38 lines
1.0 KiB
C#
38 lines
1.0 KiB
C#
using System;
|
|
using System.Linq;
|
|
using xAiApi.AI.Interfaces.Entities;
|
|
using xAiApi.AI.Models.Entities;
|
|
using xDataService.Configuration;
|
|
using xDataService.Db;
|
|
using xDataService.EFRepositories;
|
|
using xDataService.Interfaces;
|
|
|
|
namespace xAiApi.Data.Repositories.Ef
|
|
{
|
|
public class XAiProjectEfRepository<TDbContext> : XBaseEFRepository<XAiProject, Guid, XAiApiDbContext>, IXAiProjectRepository
|
|
where TDbContext : XDbContext
|
|
{
|
|
//
|
|
public XAiProjectEfRepository(
|
|
IXUnitOfWorks<XAiApiDbContext> unitOfWorks,
|
|
XDataServiceConfiguration configuration,
|
|
IXKeyGenerator<XAiProject, Guid> keyGenerator = null,
|
|
IXAiProjectEvents baseRepositoryEvents = null
|
|
) : base(
|
|
unitOfWorks,
|
|
configuration,
|
|
keyGenerator,
|
|
baseRepositoryEvents
|
|
)
|
|
{ }
|
|
|
|
public override IQueryable<XAiProject> GetFullDbSet()
|
|
{
|
|
return dbSet;
|
|
}
|
|
|
|
//
|
|
#region Special ...
|
|
#endregion
|
|
}
|
|
} |