예제 #1
0
        /// <summary>
        /// 新增一筆紀錄
        /// </summary>
        /// <param name="Para"></param>
        /// <param name="MemId"></param>
        public void Create(CreateTableIn Para, int MemId)
        {
            var CreateInfo = _tbrep.GetAll().OrderByDescending(d => d.Id).Take(1).FirstOrDefault();
            var data       = new Table_1()
            {
                //實作內容
            };

            _tbrep.Create(data);
            _tbrep.Save();
        }
예제 #2
0
 /// <summary>
 /// 新增一筆資料
 /// </summary>
 /// <param name="Para"></param>
 /// <param name="MemId"></param>
 public void Create(CreateTableIn Para, int MemId)
 {
     _tbDAL.Create(Para, MemId);
 }