Пример #1
0
        private void toolWarn_Click(object sender, EventArgs e)
        {
            if (BathClass.printAskMsg("确定预警?") != DialogResult.Yes)
                return;

            var dc_new = new BathDBDataContext(LogIn.connectionString);
            var warn = new RoomWarn();
            warn.msg = "警告";
            dc_new.RoomWarn.InsertOnSubmit(warn);
            dc_new.SubmitChanges();
        }
Пример #2
0
 partial void UpdateRoomWarn(RoomWarn instance);
Пример #3
0
 partial void DeleteRoomWarn(RoomWarn instance);
Пример #4
0
 partial void InsertRoomWarn(RoomWarn instance);