Beispiel #1
0
        /// <summary>
        /// 删除档案
        /// </summary>
        /// <param name="files"></param>
        /// <returns></returns>
        public int DeleteFiles(string Id)
        {
            Base_Assete_Files files = new Base_Assete_Files()
            {
                Assets_ID = Guid.Parse(Id)
            };

            return(_filesDal.DeleteFiles(files));
        }
Beispiel #2
0
 /// <summary>
 /// 添加一条数据
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public int InsertFiles(Base_Assete_Files model)
 {
     return(_filesDal.InsertFiles(model));
 }
Beispiel #3
0
 /// <summary>
 /// 添加一条数据
 /// </summary>
 /// <param name="model">添加的数据</param>
 /// <returns></returns>
 public int InsertFiles(Base_Assete_Files model)
 {
     return(dapper.AddData <Base_Assete_Files>(model));
 }
Beispiel #4
0
 public int InsertData(Base_Assete_Files files)
 {
     return(_filesbll.InsertFiles(files));
 }
Beispiel #5
0
 /// <summary>
 /// 删除档案
 /// </summary>
 /// <param name="files">删除存取的id</param>
 /// <returns></returns>
 public int DeleteFiles(Base_Assete_Files files)
 {
     return(dapper.DeleteData <Base_Assete_Files>(files));
 }