Posted By : Murugan Andezuthu Dharmaratnam
Posted On : 13 December 2014
Keywords : EF Entity Framework Add Save Object, EF, Entity Framework Add Save Object, Add Save Object in Entity Framework

Entity Framework : How To Save New Records

Entity Framework : Sample Code To Add New Records To Database

Sample Code




                    Data.YourObject oYourObject = new YourObject();
                    oYourObject.UserName = txtUserName.txt
                    oYourObject.Password = txtPassword.txt;
                    _ef.YourObjects.AddObject(oYourObject);
                    _ef.SaveChanges();


Murugan Andezuthu Dharmaratnam

Murugan is a technology leader with 14 years of hands-on experience in full life cycle systems design, development, implementation, and management. In addition to systems design and development, his core competencies include cloud design and architecture, interactive web applications and websites development, mobile computing, and Healthcare Information Technology. His experience is very diverse with a broad range of technologies within multiple industry settings including private, public, and non-profit. Coupled with his technology expertise, Murugan is a well-organized, result-oriented, and a highly analytical leader with proven track record in developing and implementing very complex systems.