(#44) How to setup DbContext class in entity framework core | Asp.Net Core tutorial

preview_player
Показать описание
We will also learn how to set the database connection string in entity framework core. There are two ways to configure the entity framework core.
We can configure db connection string:
- by overriding OnConfiguring() method in our dbcontext class.
- in ConfigureServices() method in Startup class

#dbcontext #WebGentle #Nitish
Join this channel to get access to perks:

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Follow us on
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Popular free courses from WebGentle
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Рекомендации по теме
Комментарии
Автор

Sir, i am not getting the use of DbSet<TEntity> with public get(getter) and set(setter)

kriyabakshi
Автор

Hi Nitish. Please tell me how can use db first approch in asp net core mvc.

rohitdwivedi
Автор

pl seperate aurhor publisher in different entity. and club it with reference pl sir give example of that.

pp-zcto
Автор

Sir pls help switch connection string one user multicompany Maintain

DINESHKUMAR-pkkv
Автор

Hi do you have forgot password functionality using this dbcontext?

LovesvtYY
Автор

can you help me with Connection string with sql username and password.

sampatsingla
Автор

pl sir comple class creation with primary key reference key and unique key with one to many relation code first approach. pl sir.

pp-zcto