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

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

Fox Learn

3 года назад

37,809 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@marcioalexandremarcondes557
@marcioalexandremarcondes557 - 20.10.2023 04:56

Very nice!

Ответить
@coolwaterdvr
@coolwaterdvr - 02.11.2022 12:02

How to bind a combox using repository pattern?

Ответить
@anadibrothers-yourwaytorel5259
@anadibrothers-yourwaytorel5259 - 18.06.2021 19:08

One question: Will it work with a later version of the Dapper?

Ответить
@zeeshanahmad1240
@zeeshanahmad1240 - 18.01.2021 12:35

Plz tell me any model of gsm or usb modem. Who supports c# for offline sms

Ответить
@Ahmad_Hamdy_Hamdeen
@Ahmad_Hamdy_Hamdeen - 15.12.2020 12:16

Thanks 👍👍👍👍👍

Ответить
@clidton
@clidton - 14.12.2020 02:01

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<IEnumerable<Product>> GetProducts()
{
using (IDbConnection db = new SqlConnection(SqlCon.ConnectionString))
{
if (db.State == ConnectionState.Closed)
db.Open();
var result = await db.QueryAsync<Product>("sp_Product", new { id1 = 3 },
commandType: CommandType.StoredProcedure);
return result.ToList();
}
}

Ответить
@5pirithief
@5pirithief - 07.12.2020 05:10

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!

Ответить
@SriHariVasamsetti
@SriHariVasamsetti - 06.12.2020 08:48

How to compatible visual studio 19 .net 5 to .net 4

Ответить
@creatur
@creatur - 05.12.2020 14:41

Cam you please make a video of making application config for settings and database and some buttons for disable and enable by that config

Ответить
@pablo1beroiza
@pablo1beroiza - 04.12.2020 21:55

good tutorial @Fox Learn!!! Tnx!!!

Ответить
@nganle2967
@nganle2967 - 04.12.2020 19:30

Can you configure dependency injection (DI) for winform, plz make some videos for that

Ответить
@CezarLisboa1990
@CezarLisboa1990 - 04.12.2020 18:17

No caso, é melhor ter a camada Business antes da Repository 👍

Ответить
@dinonppa1
@dinonppa1 - 04.12.2020 17:53

Awesome video. I love learning new things. A video I would personally find beneficial, and others might as well. A dynamic way of connecting to a database and selecting tables at runtime. Then being able to fill in a gridview with the selected tables. This could be accomplished by invoking Devexpress' QueryBuilder wizard at runtime or another way of being able to get a Query wizard then being able to select your Database and tables.

Keep up the good work!

Ответить
@TurntableTV
@TurntableTV - 04.12.2020 14:50

Dapper is so underrated as an ORM. So easy to work with databases when you have such a great tool.

Ответить
@creatur
@creatur - 04.12.2020 14:30

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

Ответить
@entemolu1
@entemolu1 - 04.12.2020 12:44

I like this channel very much as there is no annoying sound and included only the essence of materials

Ответить
@raminguliyev1520
@raminguliyev1520 - 04.12.2020 09:28

Make some videos for coding bot(whatsapp,instagram,etc) please

Ответить
@jonathangumapac9965
@jonathangumapac9965 - 04.12.2020 08:08

please help me how to save image in database

Ответить