コード例 #1
0
        public void updateContentFromLinq()
        {
            DataClasses1DataContext db    = new DataClasses1DataContext();
            user_master             user1 = db.user_masters.Single(p => p.email == "*****@*****.**");

            user1.last_name = "jain";
            db.SubmitChanges();
        }
コード例 #2
0
        public void insertdata()
        {
            DataClasses1DataContext db   = new DataClasses1DataContext();
            user_master             user = new user_master();

            user.last_name  = "negi";
            user.first_name = "Mohit";
            user.email      = "*****@*****.**";
        }
コード例 #3
0
 partial void Deleteuser_master(user_master instance);
コード例 #4
0
 partial void Updateuser_master(user_master instance);
コード例 #5
0
 partial void Insertuser_master(user_master instance);