No video

C# Tutorial - Repository Pattern with C# and Dapper ORM | FoxLearn

  Рет қаралды 38,134

Fox Learn

Fox Learn

Күн бұрын

We will discuss What is Repository Pattern Benefits of Repository Pattern. An example that uses repository pattern to store and retrieve data from SQL Server database using Dapper ORM in C# .NET Core Windows Forms Application.
Natural Voice Text to Speech: bit.ly/3lvKtpz
Website: foxlearn.com

Пікірлер: 40
@TurntableTV
@TurntableTV 3 жыл бұрын
Dapper is so underrated as an ORM. So easy to work with databases when you have such a great tool.
@foxlearn
@foxlearn 3 жыл бұрын
Thank you !
@TurntableTV
@TurntableTV 3 жыл бұрын
@@foxlearn At this point I think you're just an AI.
@marcioalexandremarcondes557
@marcioalexandremarcondes557 10 ай бұрын
Very nice!
@entemolu1
@entemolu1 3 жыл бұрын
I like this channel very much as there is no annoying sound and included only the essence of materials
@foxlearn
@foxlearn 3 жыл бұрын
Thank you so much !
@thisisnotajoke
@thisisnotajoke 3 жыл бұрын
I politely disagree: I find the background music distracting, the strange "click" sound very annoying and the monotone computer voice is not good at keeping my attention focused on the topic (my mind tends to drift while watching this video)
@pablo1beroiza
@pablo1beroiza 3 жыл бұрын
good tutorial @Fox Learn!!! Tnx!!!
@foxlearn
@foxlearn 3 жыл бұрын
Thank you !
@anadibrothers-yourwaytorel5259
@anadibrothers-yourwaytorel5259 3 жыл бұрын
One question: Will it work with a later version of the Dapper?
@coolwaterdvr
@coolwaterdvr Жыл бұрын
How to bind a combox using repository pattern?
@creatur
@creatur 3 жыл бұрын
1.Can you please make a video about for the Processing time with progress bar..... 2. Can you please make a chromium web browser in winform and teach how control it like selenium... Please🙏 reply
@foxlearn
@foxlearn 3 жыл бұрын
You can view kzbin.info/www/bejne/pmTXo5qio6uNb7s and kzbin.info/www/bejne/l5aUkGl7gayJj9k
@raminguliyev1520
@raminguliyev1520 3 жыл бұрын
Make some videos for coding bot(whatsapp,instagram,etc) please
@foxlearn
@foxlearn 3 жыл бұрын
Thank you for your suggestion !
@zeeshanahmad1240
@zeeshanahmad1240 3 жыл бұрын
Plz tell me any model of gsm or usb modem. Who supports c# for offline sms
@creatur
@creatur 3 жыл бұрын
Cam you please make a video of making application config for settings and database and some buttons for disable and enable by that config
@foxlearn
@foxlearn 3 жыл бұрын
You can view this video. kzbin.info/www/bejne/Y3zHopeNibOCbbM
@Ahmad_Hamdy_Hamdeen
@Ahmad_Hamdy_Hamdeen 3 жыл бұрын
Thanks 👍👍👍👍👍
@foxlearn
@foxlearn 3 жыл бұрын
You're welcome. Thank you
@nganle2967
@nganle2967 3 жыл бұрын
Can you configure dependency injection (DI) for winform, plz make some videos for that
@foxlearn
@foxlearn 3 жыл бұрын
OK. Thank you for your suggestion. I'll upload soon.
@SriHariVasamsetti
@SriHariVasamsetti 3 жыл бұрын
How to compatible visual studio 19 .net 5 to .net 4
@foxlearn
@foxlearn 3 жыл бұрын
You can select .NET Or .NET Core
@SriHariVasamsetti
@SriHariVasamsetti 3 жыл бұрын
@@foxlearn .net
@clidton
@clidton 3 жыл бұрын
How i can implement this in product repisotory and call this function on grid? because i have 1 million products in db and id1 parameter is mention execute all products query from stored procedure public async Task GetProducts() { using (IDbConnection db = new SqlConnection(SqlCon.ConnectionString)) { if (db.State == ConnectionState.Closed) db.Open(); var result = await db.QueryAsync("sp_Product", new { id1 = 3 }, commandType: CommandType.StoredProcedure); return result.ToList(); } }
@foxlearn
@foxlearn 3 жыл бұрын
var result = await db.QueryAsync("sp_Product", commandType: CommandType.StoredProcedure); for get all
@clidton
@clidton 3 жыл бұрын
@@foxlearn thanks for reply but i found the solution and solution is in interface change the implementation like this Task GetAllProducts();
@jonathangumapac9965
@jonathangumapac9965 3 жыл бұрын
please help me how to save image in database
@jonathangumapac9965
@jonathangumapac9965 3 жыл бұрын
in c# visual studio 2019
@foxlearn
@foxlearn 3 жыл бұрын
You can view this video kzbin.info/www/bejne/f6SaeoF6nK2ojpY . I uploaded
@Pegie98
@Pegie98 3 жыл бұрын
I want to loop my datagrid using that method.
@foxlearn
@foxlearn 3 жыл бұрын
Can you describe more details? Not clear your intention
@Pegie98
@Pegie98 3 жыл бұрын
@@foxlearn I have a sql stored procedure then i want to view in a in the datagrid with selected column then i want to group that in a datagrid. hope you understand my intentions hehehehe thank you. PG_98
@CezarLisboa1990
@CezarLisboa1990 3 жыл бұрын
No caso, é melhor ter a camada Business antes da Repository 👍
@foxlearn
@foxlearn 3 жыл бұрын
Thank you !
@5pirithief
@5pirithief 3 жыл бұрын
You need to be carful when opening connections to the database. You need to at least wrap that IDbConnection with a using to dispose it once your done with it. Great video!
@foxlearn
@foxlearn 3 жыл бұрын
It's automatically
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 155 М.
Repository Pattern with C# and Entity Framework, Done Right | Mosh
26:24
Programming with Mosh
Рет қаралды 870 М.
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 16 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 30 МЛН
Repository Pattern
11:08
Coding Concepts
Рет қаралды 67 М.
CRUD with MVP pattern, C#, WinForms and SQL Server
23:35
RJ Code Advance EN
Рет қаралды 116 М.
How to use the Repository Design Pattern in C# and ASP.NET
18:35
tutorialsEU - C#
Рет қаралды 11 М.
C# Data Access: Complex Objects with Dapper
28:09
IAmTimCorey
Рет қаралды 28 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 191 М.
Dapper v/s Entity Framework(Core) -  .NET Interview Question
5:45
DotNetMastery
Рет қаралды 27 М.
Making Entity Framework Core As Fast As Dapper
13:17
Nick Chapsas
Рет қаралды 85 М.