Esempio n. 1
0
 /// <summary>
 /// 添加员工信息
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public int AddEmp(Base_Emp_Information model)
 {
     return(dapper.AddData(model));
 }
 /// <summary>
 /// 添加资产类别
 /// </summary>
 /// <param name="classModel"></param>
 /// <returns></returns>
 public int AddFilesClass(Assets_Class classModel)
 {
     return(dapper.AddData <Assets_Class>(classModel));
 }
Esempio n. 3
0
 /// <summary>
 /// 添加一条数据
 /// </summary>
 /// <param name="model">添加的数据</param>
 /// <returns></returns>
 public int InsertFiles(Base_Assete_Files model)
 {
     return(dapper.AddData <Base_Assete_Files>(model));
 }