This commit is contained in:
2026-05-09 22:22:02 +03:30
parent 6b6790b61a
commit 2a0e8e4074
17 changed files with 205 additions and 5 deletions
+8 -5
View File
@@ -1,6 +1,11 @@
using System;
using System.Collections.Generic;
using GraphQL.Types;
using xDataService.Interfaces;
using xDataService.Models;
using xServices.Interfaces;
using xServices.Models.Entities;
using xServices.Providers;
namespace xServices.Databases
{
@@ -12,14 +17,12 @@ namespace xServices.Databases
{
//
// XTest Entity ...
// new XRepositoryDescriptor
// {
// //
// }
new XEFRepositoryDescriptor<XTest, Guid, IXTestKeyGenerator, XTestKeyGenerator, IXTestRepositoryEvents, XTestRepositoryEvents, XTestGraphType, GuidGraphType, IXTestGraphQuery, XTestGraphQuery, IXTestGraphQLTypeHelper, XTestGraphQLTypeHelper, XTestGraphSchema, IXTestRepository, XTestEFRepository, XApiDbContext>
{}
}
)
{
// Context = XApiDbContext;
OptionsBuilder = b => b.MigrationsAssembly("xApi");
}
}
}
+2
View File
@@ -1,6 +1,7 @@
using Microsoft.EntityFrameworkCore;
using xDataService.Configuration;
using xDataService.Db;
using xServices.Models.Entities;
namespace xServices.Databases
{
@@ -8,6 +9,7 @@ namespace xServices.Databases
{
//
#region DbSets ...
public DbSet<XTest> Tests { get; set; }
#endregion
//