Raw SQL queries & stored procedures in Entity Framework Core

  Рет қаралды 4,835

Round The Code

Round The Code

Күн бұрын

Пікірлер: 7
@cissemy
@cissemy 11 ай бұрын
Great. How to create the pagination version of stored procedure ?
@RoundTheCode
@RoundTheCode 10 ай бұрын
You can use OFFSET in newer versions of SQL Server. I would pass in the skip and take as parameters. Use the skip for the OFFSET and for the take, you can maybe use SELECT TOP @Take FROM... Haven't tried it though. Here is some info about OFFSET in SQL Server to help you. www.red-gate.com/simple-talk/databases/sql-server/t-sql-programming-sql-server/paging-data-in-t-sql/
@MykolaEp
@MykolaEp 8 ай бұрын
How to pass parameters for query for operation WHERE StatusOfProduct IN ("InStock", "Ordered") and count of parameter are different for each request and comes from UI filter? First request ("InStock", "Ordered"), another request - ("InStock", "Ordered", "OutOfStock"), third ("Ordered").
@Tamer_Ali
@Tamer_Ali 10 ай бұрын
Thanks a lot for the useful video Can we use DTO class instead of existing entity with FromSqlRaw ?
@RoundTheCode
@RoundTheCode 10 ай бұрын
I don't think that would work as the SQL statement is sent to the database for querying. A DTO won't have any direct relationship with the database, so that's where it won't work.
@antoniatromp2827
@antoniatromp2827 9 ай бұрын
😄 Promo>SM
@RoundTheCode
@RoundTheCode 9 ай бұрын
???
Everything You Need To Know About EF Core 8 Raw SQL Queries
8:43
Milan Jovanović
Рет қаралды 15 М.
Entity Framework Core with Stored Procedures in C#
27:59
Tural Suleymani
Рет қаралды 3,3 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 225 М.
Stored Procedures are Better than Raw SQL
7:58
Database Star
Рет қаралды 7 М.
Making Entity Framework Core As Fast As Dapper
13:17
Nick Chapsas
Рет қаралды 90 М.
Stored Procedures with Entity Framework Core in .NET 8
25:56
Remigiusz Zalewski
Рет қаралды 3,1 М.
Stored Procedures with Entity Framework Core in .NET 6 🚀
13:51
PL/SQL | Stored Procedure | Create and Execute a User Stored Procedure
22:06
DONT USE AN ORM | Prime Reacts
25:46
ThePrimeTime
Рет қаралды 247 М.
139. What Are Your Thoughts on Entity Framework Core vs. Dapper?
21:49
We fixed an inconsistency in Kotlin (non-local break & continue)
10:31
Kotlin by JetBrains
Рет қаралды 7 М.