Esempio n. 1
0
 /// <summary>
 /// 添加
 /// </summary>
 /// <param name="testdemoEntity">实体</param>
 /// <param name="identity">自增量方式</param>
 /// <param name="returnId">返回主键</param>
 /// <returns>主键</returns>
 public string Add(testdemoEntity testdemoEntity, bool identity, bool returnId)
 {
     this.Identity = identity;
     this.ReturnId = returnId;
     return(this.AddEntity(testdemoEntity));
 }
Esempio n. 2
0
 /// <summary>
 /// 更新
 /// </summary>
 /// <param name="testdemoEntity">实体</param>
 public int Update(testdemoEntity testdemoEntity)
 {
     return(this.UpdateEntity(testdemoEntity));
 }
Esempio n. 3
0
 /// <summary>
 /// 添加
 /// </summary>
 /// <param name="testdemoEntity">实体</param>
 /// <returns>主键</returns>
 public string Add(testdemoEntity testdemoEntity)
 {
     return(this.AddEntity(testdemoEntity));
 }