Posted By : Shivaprasad Koirala
Posted On : 2 November 2014
Keywords : Code4Beginner,Beginner,Insert Update And Delete Using Entity Framework,Entity Framework

Insert Update And Delete Using Entity Framework

Overwiew Of Video:Insertion,Updation And Deleteion Using Entity Framework


Description : In this video the author will shows how to read,insert,update and delete data using entity frame work.At first he mentioned about context class and entity class.Context class is act as a mediator or connector.So at first we create an object for context class.For reading data, Create object for the List and read items in to list object.Display the elements in list using foreach method.For inserting we have to create a new object and using the object insert values to specific columns in database. Using Addobject() method, we can add the items to memmory , if it adds to database use one more statement as SaveChanges().In update, first we need to select the record.Next add the updations and save the changes as mentioned in previous case.For deleting a record,Select the record to be deleted and save the changes.We can see them in detail with an example in this video.

This video demonstrate

Youtube Video: Insert Update And Delete Using Entity Framework



Related Videos


Shivprasad koirala

I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. We are very much active in making training videos , writing books and corporate trainings. Do visit my site for .NET, C# , design pattern , WCF , Silverlight , LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server training and Interview questions and answers