Add Required Stuffs to running Project on net8.0 ...
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user