Files
xDataService/GraphQL/XBaseGraphQLEventType.cs
T
2026-09-06 00:20:06 +03:30

17 lines
520 B
C#

using xModels.Base;
using GraphQL.Types;
using xDataService.Models;
namespace xDataService.GraphQL {
public class XBaseGraphQLEventType<TEntity, TKey, TGraphType> : ObjectGraphType<XBaseEventModel<TEntity>>
where TGraphType : IGraphType
where TEntity : XBaseEntity<TKey> {
public XBaseGraphQLEventType () {
//
Name = nameof (XBaseGraphQLEventType<TEntity, TKey, TGraphType>);
//
Field (x => x.Model, type : typeof (TGraphType));
}
}
}