Beispiel #1
0
        public bool setMenu(Int32 id, String name)
        {
            profileDataContext myContext = new profileDataContext();

            menu m = new menu();

            m.menuID   = id;   //float.Parse(latitude, System.Globalization.CultureInfo.InvariantCulture);
            m.menuName = name; //float.Parse(longitude, System.Globalization.CultureInfo.InvariantCulture);


            myContext.menus.InsertOnSubmit(m);
            myContext.SubmitChanges();
            return(true);
        }
Beispiel #2
0
 partial void Deletemenu(menu instance);
Beispiel #3
0
 partial void Updatemenu(menu instance);
Beispiel #4
0
 partial void Insertmenu(menu instance);