37 lines
1007 B
C#
37 lines
1007 B
C#
using System.Linq;
|
|
using xAiApi.Data.Interfaces;
|
|
using xAiApi.Data.Models.Entities;
|
|
using xDataService.Configuration;
|
|
using xDataService.Db;
|
|
using xDataService.EFRepositories;
|
|
using xDataService.Interfaces;
|
|
|
|
namespace xAiApi.Data.Repositories.Ef
|
|
{
|
|
public class XTestEfRepository<TDbContext> : XBaseEFRepository<XTest, int, XAiApiDbContext>, IXTestRepository
|
|
where TDbContext : XDbContext
|
|
{
|
|
//
|
|
public XTestEfRepository(
|
|
IXUnitOfWorks<XAiApiDbContext> unitOfWorks,
|
|
XDataServiceConfiguration configuration,
|
|
IXKeyGenerator<XTest, int> keyGenerator = null,
|
|
IXBaseRepositoryEvents<XTest> baseRepositoryEvents = null
|
|
) : base(
|
|
unitOfWorks,
|
|
configuration,
|
|
keyGenerator,
|
|
baseRepositoryEvents
|
|
)
|
|
{ }
|
|
|
|
public override IQueryable<XTest> GetFullDbSet()
|
|
{
|
|
return dbSet;
|
|
}
|
|
|
|
//
|
|
#region Special ...
|
|
#endregion
|
|
}
|
|
} |