Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

.NET Core C# Table Joins and Query Strings

$
0
0

I am fairly new to .NET Core and have been working with some Microsoft YouTube videos to create a new API .NET Core project.

In the process I discovered Scaffold-DbContext.  I was successful in getting this to process through the NuGet Package Manager Console.  

It created all the models for my database, but the issue is figuring out how to write code to pass a Id through the URI then perform a Database Query.  

All the examples online that I have found use DBContext and DBSet.  I am able to pull all the data from one table SQL Table but can not figure out how to go about passing the URI Id and query my database using Table Joins.  

I need good full blown examples if possible.

Any help would be greatly appreciated.

As I am new at this, please pardon my stupidly.  :)


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>