{"action":"created","issue":{"url":"https://api.github.com/repos/ckimes89/graphql-net/issues/63","repository_url":"https://api.github.com/repos/ckimes89/graphql-net","labels_url":"https://api.github.com/repos/ckimes89/graphql-net/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/ckimes89/graphql-net/issues/63/comments","events_url":"https://api.github.com/repos/ckimes89/graphql-net/issues/63/events","html_url":"https://github.com/ckimes89/graphql-net/issues/63","id":193804256,"number":63,"title":"Question: Does it possible to work not only with EF/NHibernate frameworks?","user":{"login":"MakaBuka","id":5338043,"avatar_url":"https://avatars.githubusercontent.com/u/5338043?v=3","gravatar_id":"","url":"https://api.github.com/users/MakaBuka","html_url":"https://github.com/MakaBuka","followers_url":"https://api.github.com/users/MakaBuka/followers","following_url":"https://api.github.com/users/MakaBuka/following{/other_user}","gists_url":"https://api.github.com/users/MakaBuka/gists{/gist_id}","starred_url":"https://api.github.com/users/MakaBuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MakaBuka/subscriptions","organizations_url":"https://api.github.com/users/MakaBuka/orgs","repos_url":"https://api.github.com/users/MakaBuka/repos","events_url":"https://api.github.com/users/MakaBuka/events{/privacy}","received_events_url":"https://api.github.com/users/MakaBuka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-06T15:37:37Z","updated_at":"2016-12-06T21:33:09Z","closed_at":null,"body":"Hi guys,\r\n\r\nI've run an example that based on EF and it works fine.\r\n\r\nBut, could you clarify me some question according to GraphQL:\r\n\r\naccording to EntityFrameworkExecutionTests.cs I found that you're using EFcontext (based on DbContext - which includes populating objects with data from a database, change tracking, and persisting data to the database):\r\nvar schema = GraphQL.CreateDefaultSchema(() => new EfContext());\r\nIt's mean, that we will have up-to-date data (let's assume that our EFContext is configured and working with MSSQLLocalDB).\r\n\r\nIt would be great if you clarify me (or just send me an example) how it works without EF (in case when we have to retrieve/update data from database like mysql or mssql)\r\n\r\nLooking forward to your reply.\r\nThx, Dima."},"comment":{"url":"https://api.github.com/repos/ckimes89/graphql-net/issues/comments/265279226","html_url":"https://github.com/ckimes89/graphql-net/issues/63#issuecomment-265279226","issue_url":"https://api.github.com/repos/ckimes89/graphql-net/issues/63","id":265279226,"user":{"login":"ckimes89","id":1936066,"avatar_url":"https://avatars.githubusercontent.com/u/1936066?v=3","gravatar_id":"","url":"https://api.github.com/users/ckimes89","html_url":"https://github.com/ckimes89","followers_url":"https://api.github.com/users/ckimes89/followers","following_url":"https://api.github.com/users/ckimes89/following{/other_user}","gists_url":"https://api.github.com/users/ckimes89/gists{/gist_id}","starred_url":"https://api.github.com/users/ckimes89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckimes89/subscriptions","organizations_url":"https://api.github.com/users/ckimes89/orgs","repos_url":"https://api.github.com/users/ckimes89/repos","events_url":"https://api.github.com/users/ckimes89/events{/privacy}","received_events_url":"https://api.github.com/users/ckimes89/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T21:33:09Z","updated_at":"2016-12-06T21:33:09Z","body":"Hi there,\r\n\r\nThis library attempts to translate a GraphQL query into an IQueryable object. Almost all of the .NET object-relational mappers use IQueryable to represent a query (Entity Framework, NHibernate, LINQ to SQL, Elm, etc.). As long as you use an ORM that understands IQueryable, this library can work with it. For example, we have tests that work against in-memory `List`s by using the `.AsQueryable()` method: \r\n\r\nhttps://github.com/ckimes89/graphql-net/blob/master/Tests/MemContext.cs\r\nhttps://github.com/ckimes89/graphql-net/blob/master/Tests/InMemoryExecutionTests.cs\r\n\r\nWhat this library can not do is generate SQL directly for use with a database (via ADO.NET or similar). However, you can use an ORM (such as EF) to translate from IQueryable to SQL."}}
{"actor":{"display_login":"ckimes89"}}