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