using GraphQL.Types;
using xModels.Base;
namespace xDataService.GraphQL
{
///
/// Base Entity GraphType Object ...
///
///
public abstract class XBaseGraphObjectType : ObjectGraphType
where TEntity : XBaseEntity {
public XBaseGraphObjectType () {
//
Name = $"{typeof(TEntity).Name}GraphType";
//
Field (x => x.Id);
Field (x => x.Deleted);
}
}
}