Save in Entity Framework

Entity Framework - How to save

1. Create simple database in SQL

2. Add entity model in ASP.Net

3. Generate entity model of existing database

4. Entity objen= new Entity ();

   objen.Mark1= sMark1.Text;

   objen.Mark2= sMark2.Text;


   EntityDB objdb = new EntityDB();


   objdb.SaveChanges();// data's will be saved in database


Ebook Download
View all
View all