ASP.NET MVC 5 Step by Step: Part 5 Entity Framework Database First

preview_player
Показать описание
If you have any comment or discussion feel free to discuss with me. I am available here...
Рекомендации по теме
Комментарии
Автор

Hi,
I am using VS 2015 and MS Server 2012 but I can't create database first. because I have a problem. when I Select
My Project-> Add-> New Item-> ADO.Net Entity Data Model. I Don't Found (.edmx).
Click Add -> Don't Show Generate From Database. please help me ...

tariquehasan
Автор

After trying a lot of methods to connect database to mvc i was fed up with errors.. then i saw your tutorial 👌... Thanks a lot man..

royalrajput
Автор

Hey Ripon. Thanks for this tutorial. However, I am facing some issues here. I have a table called tbl_Employee, but a Model class named 'Employee'. How will the database recognize which table he has to match?

daalwada
Автор

occurred
HResult=0x80131920
Message=Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
Source=<Cannot evaluate the exception source>
Error Occure

mohsinalisoomro
Автор

It' a great tutorial, but you said the word "So" way too many times, enough to give me an headache.

CAGFlores
Автор

My database is AirlineSystem.edmx instead of Employee.edmx. I want to create UserContext db=new UserContext(); in UsersController but its not showing.

ammadhassan
Автор

Thanks for the video. Shouldn't the edmx and TT files be placed in the models folder? I have seen an instance where these files were under the app_data folder. It was for a one page sample project. There was nothing in the model folder... Why is that? Is it common practice? Thanks

avitalkatz
Автор

how can I get the mdf file in the app_data folder. I need this file to deploy my website to the azure.by following your steps I only obtain the model I want the script as well

lamaahmad
Автор

 I saw an amazing tutorial but they created a database and didn't show how you would go about it already having a database. Thanks man! This really helped.

jordmax
Автор

you have used the database first approach, , but you didn't add the validation on top of the properties in the class.

nasserhossam
Автор

How can I send an email notification after 5 days if the document is not complete? I am getting a notification after a document is created but not getting a reminder email after 5 days which can say the document is not completed by, employee number 10 or so.
I am using MVC5

meghamisra
Автор

Hi, can you help me? I have the next situation, I have a database already with a table "Employee" but I want to use Identity 2.0 using that table and not the AspNetUsers that Identity create, so how can I do that?

mauriciobautistagarcia
Автор

HI Ripon, It was a wonderful tutorial Now using this i can insert into  only one table. Can u share me the tutorial to insert into multiple Tables using Entity Framework

devkranthkishorevanja
Автор

In the video at time of 7:55, what is reside place of EmployeeContext db = new EmployeeContext() ?
I use this video, I had an error in that

mythilisaravanan
Автор

Lets say we want to store our ASP NET app users in that database we first created. How do we skip the asp net built in registration process

StoyanLupov
Автор

Hi sir do you have a tutorial in X-FRAME-OPTIONS mvc5 ?

nihayopano
Автор

could you tell me, why EmployeeModel.Designer.cs is not generating any code.

manojkumar-hfvk
Автор

hey guys can some one tell me what to do when test the connection i have an error and that is "could not load file or Assembly " plz tell me the appropriate soultion

haseebashraf
Автор

I think crud operation javascript Ajax ADO lecture can provide

yadavlarens
Автор

I learned Pagination in this tutorial. You tutorials always help me and easy to learn. Please upload more

md.harisuddinsharif