25 lines
627 B
C#
25 lines
627 B
C#
using xAiApi.Data.Interfaces;
|
|
using xAiApi.Data.Models.Entities;
|
|
using xDataService.Configuration;
|
|
using xDataService.GraphQL;
|
|
|
|
namespace xAiApi.Data.GraphQL
|
|
{
|
|
public class XTestGraphQLTypeHelper : XBaseGraphQLTypeHelper<XTest, int>, IXTestGraphQLTypeHelper
|
|
{
|
|
public XTestGraphQLTypeHelper(
|
|
XDataServiceConfiguration configuration
|
|
) : base(configuration)
|
|
{ }
|
|
|
|
public override string GetInQueryCollectionName()
|
|
{
|
|
return "tests";
|
|
}
|
|
|
|
public override string GetInQuerySingleName()
|
|
{
|
|
return "test";
|
|
}
|
|
}
|
|
} |