You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,28 @@
12
12
# Introduction
13
13
Linq2GraphQL generates C# classes from the GraphQL schema and and togheter with the nuget package Linq2GraphQL.Client it makes it possible to query the server using Linq expressions.
14
14
15
-
A simple query that will get the first 10 orders with the primitive properties of orders and the connected customer
15
+
A simple query that will get the first 10 orders with the primitive properties of orders and the connected customer.
16
16
17
17
var orders = await sampleClient
18
-
.Query
18
+
.Query
19
19
.Orders(first: 10)
20
20
.Include(e => e.Orders.Select(e => e.Customer))
21
21
.Select(e => e.Orders)
22
22
.ExecuteAsync();
23
23
24
+
A example mutation where we add a new customer and return the Customer Id.
0 commit comments