Beispiel #1
0
 partial void DeleteTbIP(TbIP instance);
Beispiel #2
0
 partial void InsertTbIP(TbIP instance);
Beispiel #3
0
 partial void UpdateTbIP(TbIP instance);
Beispiel #4
0
        public static void TbIpInsert(string IP, int flag)
        {
            TbIP tb = new TbIP();
            tb.IP = IP;
            tb.CreateDate = DateTime.Now;
            tb.flag = flag;

            using (DataClasses1DataContext db = new DataClasses1DataContext())
            {
                db.TbIP.InsertOnSubmit(tb);
                db.SubmitChanges();
            }
        }