27 lines
638 B
C#
27 lines
638 B
C#
using System;
|
|
using xDataService.Configuration;
|
|
using xDataService.GraphQL;
|
|
using xServices.Interfaces;
|
|
using xServices.Models.Entities;
|
|
|
|
namespace xServices.Providers
|
|
{
|
|
public class XTestGraphQLTypeHelper : XBaseGraphQLTypeHelper<XTest, Guid>, IXTestGraphQLTypeHelper
|
|
{
|
|
public XTestGraphQLTypeHelper(
|
|
XDataServiceConfiguration configuration
|
|
) : base(configuration)
|
|
{
|
|
}
|
|
|
|
public override string GetInQueryCollectionName()
|
|
{
|
|
return "tests";
|
|
}
|
|
|
|
public override string GetInQuerySingleName()
|
|
{
|
|
return "test";
|
|
}
|
|
}
|
|
} |