0
How can save data with linq ?
How to save data in sql with linq in c # (Windows)? What is its query code?
2 Antworten
+ 4
Hi.
Maybe this can help u:
https://www.guru99.com/c-sharp-access-database.html
+ 1
First of all, I must appreciate Ânurag $aikia[Exams Till 5oct😓👋👋]. Let's introduce you to another way to solve this problem.
Now you can use an entity framework. The DbSet class is derived from IQuerayable. So, we can use LINQ for querying against DbSet, which will be converted to an SQL query. EF API executes this SQL query to the underlying database, gets the flat result set, converts it into appropriate entity objects and returns it as a query result.
For more info, please read this article:
https://www.entityframeworktutorial.net/querying-entity-graph-in-entity-framework.aspx