by Yogesh | Apr 18, 2016 | Asp .net MVC, Entity Framework Tutorial
Step 1: First Create new Project in Visual studio. Step 2: create new asp.net web application Step 3: Create new MVC Empty Project Step 4: First We will write connection string into web.config. In this example I have created a database named MVCEx and a table Login...
by Yogesh | Apr 17, 2016 | AngularJS tutorial
Controllers Programming in AngularJS What is MVC ARCHITECTURE? Model : Logic that deals with storing or retrieving data is part of the model. View : Logic that deals with formatting the data to display to the user is part of the view. Controller The controller sits...
by Yogesh | Apr 16, 2016 | Asp .net MVC
View Model: View Model is middle layer of view and model. Some Question are emerge which are following Where I should put my presentation logic Where I should put my Data transmission logic How I can create a view with multiple models. Practical Implementation: Step...
by Yogesh | Apr 16, 2016 | Asp .net MVC, Entity Framework Tutorial
Inheritance in EF Inheritance in entity framework ,it is a way to create relationships between database tables.For example primary key and foreign key relationship. Types of Inheritance TPH(Table per Hierarchy) TPC(Table per concrete) TPT(Table per Type) 1. TPH: It...
by Yogesh | Apr 16, 2016 | Entity Framework Tutorial
Entity Framework migration with example This feature is introduced in EF 5 to overcome the problem of database Datainitilzers(Data was lost). We can make changes in database and able to revert back using migrations techniques. Example: Step 1. First we will create two...