Ejemplo n.º 1
0
 partial void DeleteTbSendMailLog(TbSendMailLog instance);
Ejemplo n.º 2
0
 partial void InsertTbSendMailLog(TbSendMailLog instance);
Ejemplo n.º 3
0
 partial void UpdateTbSendMailLog(TbSendMailLog instance);
Ejemplo n.º 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();
            }
        }