Example #1
0
 partial void DeleteTbSendMailLog(TbSendMailLog instance);
Example #2
0
 partial void InsertTbSendMailLog(TbSendMailLog instance);
Example #3
0
 partial void UpdateTbSendMailLog(TbSendMailLog instance);
Example #4
0
        public static void SendMailLogInsert(string ShouJianRen, string YouJianMingCheng, string ZhuanLiQuYu, string FaSongZhuangTai)
        {
            TbSendMailLog tb = new TbSendMailLog();
            tb.ShouJianRen = ShouJianRen;
            tb.YouJianMingCheng = YouJianMingCheng;
            tb.ZhuanLiQuYu = ZhuanLiQuYu;
            tb.FaSongShiJian = DateTime.Now;
            tb.FaSongZhuangTai = FaSongZhuangTai;

            using (DataClasses1DataContext db = new DataClasses1DataContext())
            {
                db.Log = Console.Out;
                db.TbSendMailLog.InsertOnSubmit(tb);
                db.SubmitChanges();
            }
        }