Add Required Stuffs to running Project on net8.0 ...

This commit is contained in:
2026-04-04 00:11:31 +03:30
parent f863f49af7
commit 058b55f4fa
28 changed files with 1194 additions and 11 deletions
@@ -0,0 +1,37 @@
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using xAiApi.Data.Interfaces;
using xAiApi.Data.Models.Entities;
using xDataService.Configuration;
using xDataService.Interfaces;
using xDataService.MongoRepositories;
namespace xAiApi.Data.Repositories.Mongo
{
public class XTestMongoRepository : XBaseMongoRepository<XTest, int>, IXTestRepository
{
//
public XTestMongoRepository(
XDataServiceConfiguration configuration,
string collectionName = null,
IXKeyGenerator<XTest, int> keyGenerator = null,
IXBaseRepositoryEvents<XTest> baseRepositoryEvents = null
) : base(
configuration,
collectionName,
keyGenerator,
baseRepositoryEvents
)
{ }
public override IMongoQueryable<XTest> GetFullDbSet()
{
return collection
.AsQueryable();
}
//
#region Special ...
#endregion
}
}