This commit is contained in:
2026-05-15 02:51:02 +03:30
parent 2a88195d15
commit d47f57a620
17 changed files with 1268 additions and 64 deletions
+3 -3
View File
@@ -7,11 +7,11 @@ namespace xDataService.GraphQL
/// Base Entity GraphType Object ...
/// </summary>
/// <typeparam name="TKey"></typeparam>
public abstract class XBaseGraphObjectType<T, TKey> : ObjectGraphType<T>
where T : XBaseEntity<TKey> {
public abstract class XBaseGraphObjectType<TEntity, TKey> : ObjectGraphType<TEntity>
where TEntity : XBaseEntity<TKey> {
public XBaseGraphObjectType () {
//
Name = $"{typeof(T).Name}GraphType";
Name = $"{typeof(TEntity).Name}GraphType";
//
Field (x => x.Id);
+1 -1
View File
@@ -2,7 +2,7 @@ using System.Collections.Generic;
using GraphQL.Resolvers;
using GraphQL.Types;
using xCommons.Extensions;
using xDataService.Events;
using xDataService.Providers;
using xDataService.Interfaces;
using xDataService.Models;
using xModels.Base;