我想将 GraphQL 集成到我现有的 ASP.NET Framework(使用 Entity Framework 4)应用程序中,该应用程序有一个 MSSQL Server 作为后端。
在浏览 .NET 的 GraphQL 库时,我发现了 2 个库 - graphql-dotnet和graphql-net,它们在 GraphQL 网站上被推荐(链接:http ://graphql.org/code/#c-net )
看来(如果我错了,请纠正我):
- graphql-dotnet ( https://github.com/graphql-dotnet/graphql-dotnet ) - 这个库只支持内存数据
- graphql-net ( https://github.com/ckimes89/graphql-net ) - 如果我们想处理存储在 DB 中的数据,这个库可以很好地工作。
有什么建议或更正吗?是否可以使用以前的(即 graphql-dotnet)库对数据库执行读/写操作?还是应该改用graphql-net库?