Skip to content
0:00 / 0:00

#efcore#storedprocedures#entityframework

Stored Procedures with Entity Framework Core in .NET 6 🚀

Patrick God

84K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Linked in the descriptionpatrickgod/EfCoreStoredProcedureTutorial
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

59K views4 years ago1 recommendation

Databases and dataProgramming languagesSQLC# and .NET

Patrick God demonstrates how to call stored procedures with and without parameters using Entity Framework Core in .NET.

🚀 Free Blazor AI crash course: dotnetwebacademy.com/blazor-ai-jumpstart --- 📧 Newsletter: newsletter.patrickgod.com/ 💻 GitHub: github.com/patrickgod/EfCoreStoredProcedureTutorial 🐦 Twitter: twitter.com/_PatrickGod 📓 Articles: medium.com/@UCq8LldVrjqe61KQttZlLW8g 🎥 Skillshare: skillshare.com/r/user/patrickgod?gr_tch_ref=on&gr_trp=on 🔥 Blazor E-Commerce Course: udemy.com/course/blazor-ecommerce/?couponCode=YOUTUBE 🔥 Blazor Bootcamp: udemy.com/course/blazor-webassembly/?referralCode=647B4EAACD… 💡 Online Course Lab: kristinagod.com/online-course-lab Table of Contents: Stored Procedures with Entity Framework Core in .NET 6 🚀 The Web API Project with a SQL Server DB Call a simple Stored Procedure with no Parameters Call a simple Stored Procedure with Parameters Call a Stored Procedure with an Update and two Parameters A Sidenote on Affected Rows 🙏MANY THANKS TO THESE LOVELY PEOPLE: @JacoboVillarreal Thomas McMeekin Ameet Jayawant JesperNielsen Paul @Alaffer Alvin Majid Slava Ukrayini Piotr Franczak Jan Trichter Tom H. Ali Ashley Gahl Daniel Viveros Mehmet Ali Ege Winther harry j @Alaffer Sam Catlow Jim Brian Williams Gonzo Jonas Ariel Sartor Andy Benson @stevelikespies Raphael Lukas James Goforth @williamdevine Doug Nelson Arif Hasanov @KohjiYamamoto @dlb78dlb Thomas Korsgaard FastTrak Jeff Sager Dan Moyer AlgoMarket Mennskr Simon Michael Mel Hermann Rösch Jim McNeal Kieron @mgrainger231 Gerrit Esmeijer Axel Kareem Skinner Joaquim Alain Legrand Per Rieland @prodrigu75 Greg Brendan Maunder Stageoner Andrew Campbell pascalditzfeld PovilasSimanskas jenö Marco Otilli Mark l33ter alibux g.dassel Luke Vincent mrcl Alain Legrand Thomas Werner István Csibor Grant Burdon @GianluigiConti Gerrit Esmeijer Illia Németh-Pók István Michael Mel Marko Zdilar GerryB @DADA_universe Domen Hren @heroesch Carey Peter De Tender Baris Keskin @Big_Bear_27390 Mathias walter e watkins Günther Dassel Axel Josh Daniel Huber Fredric Adell Juan Carlos Manolis Pajani P. Jonas Granlund Bobby Kristina @xamarin007 #DotNet #EfCore #PatrickGod

Why it's here

1 person recommends this

What people say. Recommended as a straightforward guide for calling stored procedures in Entity Framework Core.

u/plyswthsqurlesin r/dotnet • Recommends

On “EntityFramework questions ok here? Calling a Stored Proc with EF 8.0 [with params]?”

Calling stored procedures in EF is pretty straight forward, don't really need chat gpt, just top few google results for "how to call a stored procedure in EF core" give many answers that will work for you. Whether its EF core 6/7/8 doesn't really matter for the most part, its all the same so don't get hung up on version. https://www.entityframeworktutorial.net/efcore/working-with-stored-procedure-in-ef-core.aspx https://code-maze.com/efcore-execute-stored-procedures/ [video Even this in .net 5 should work. https://www.codemag.com/Article/2101031/Calling-Stored-Procedures-with-the-Entity-Framework-in-.NET-5