خرید بک لینک

Vote count: 0

Hi I just created my first MVC Website. To avoid having to program the controller myself, I am using the Individual User Accounts template from Microsoft.

I know, that this template uses the Entity Framework to create an express database to persist the user/account data.

Since I already have a database, which I want to use, I want to change the template so it uses the DbContext for said database.

I was able to change the coectionstring, so that the tables of the template got created in my database. But I dont want it to create it's own tables but use my already created tables.

Is there any easy way to achieve this?

Or should I just write the whole account/user controller from scratch myself?

Thanks in advance

Joshu

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 11 فروردين 1395 ساعت: 21:25

صفحه بندی