コード例 #1
0
 public void CreateCBTask(string keyValue, CBTaskEntity cbTaskEntity)
 {
     try
     {
         service.CreateCBTask(keyValue, cbTaskEntity);
     }
     catch (Exception)
     {
         throw;
     }
 }
コード例 #2
0
        // static Venus.Data.IDatabase db;

        static void Main(string[] args)
        {
            CBTaskBLL cbbll = new CBTaskBLL();

            string       keyValue = DateTime.Now.ToString("yyyyMMdd");
            CBTaskEntity entity   = new CBTaskEntity()
            {
                TaskId       = keyValue,
                cbrq         = DateTime.Now,
                fdate        = DateTime.Now.ToString("yyyyMM"),
                detail_count = 0,
                cbydm        = "0101",
                state        = 0,
                xh           = "0101",
            };

            cbbll.CreateCBTask(keyValue, entity);

            System.Console.WriteLine("执行完毕!");
            System.Console.ReadKey();
        }