public void updateContentFromLinq() { DataClasses1DataContext db = new DataClasses1DataContext(); user_master user1 = db.user_masters.Single(p => p.email == "*****@*****.**"); user1.last_name = "jain"; db.SubmitChanges(); }
public void insertdata() { DataClasses1DataContext db = new DataClasses1DataContext(); user_master user = new user_master(); user.last_name = "negi"; user.first_name = "Mohit"; user.email = "*****@*****.**"; }
partial void Deleteuser_master(user_master instance);
partial void Updateuser_master(user_master instance);
partial void Insertuser_master(user_master instance);