Last ...
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user