Fix GraphQL Implementation and also UI Playground and add supports for Oracle Provider using EF Core ...
This commit is contained in:
@@ -11,16 +11,17 @@ using xModels.Base;
|
||||
|
||||
namespace xDataService.GraphQL
|
||||
{
|
||||
public abstract class XBaseGraphQLQuery : ObjectGraphType, IXBaseGraphQLQuery { }
|
||||
|
||||
public abstract class XBaseGraphQLQuery<TEntity, TKey> : XBaseGraphQLQuery, IXBaseGraphQLQuery<TEntity, TKey>
|
||||
public abstract class XBaseGraphQLQuery<TEntity, TKey, TGraph, TGraphKey> : ObjectGraphType, IXBaseGraphQLQuery<TEntity, TKey, TGraph, TGraphKey>
|
||||
where TEntity : XBaseEntity<TKey>
|
||||
where TGraph : IGraphType
|
||||
where TGraphKey : IGraphType
|
||||
{
|
||||
//
|
||||
protected readonly XDataServiceConfiguration configuration;
|
||||
protected readonly IXBaseRepository<TEntity, TKey> repository;
|
||||
protected readonly IXBaseGraphQLTypeHelper<TEntity, TKey> helper;
|
||||
|
||||
//
|
||||
public XBaseGraphQLQuery(
|
||||
XDataServiceConfiguration configuration,
|
||||
IXBaseRepository<TEntity, TKey> repository,
|
||||
@@ -34,25 +35,7 @@ namespace xDataService.GraphQL
|
||||
|
||||
//
|
||||
Name = GetType().Name;
|
||||
}
|
||||
}
|
||||
|
||||
public abstract class XBaseGraphQLQuery<TEntity, TKey, TGraph, TGraphKey> : XBaseGraphQLQuery<TEntity, TKey>, IXBaseGraphQLQuery<TEntity, TKey, TGraph, TGraphKey>
|
||||
where TEntity : XBaseEntity<TKey>
|
||||
where TGraph : IGraphType
|
||||
where TGraphKey : IGraphType
|
||||
{
|
||||
//
|
||||
public XBaseGraphQLQuery(
|
||||
XDataServiceConfiguration configuration,
|
||||
IXBaseRepository<TEntity, TKey> repository,
|
||||
IXBaseGraphQLTypeHelper<TEntity, TKey> helper
|
||||
) : base(
|
||||
helper: helper,
|
||||
repository: repository,
|
||||
configuration: configuration
|
||||
)
|
||||
{
|
||||
//
|
||||
#region Retrieve ...
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user